From: Jon Hunter <jonathanh@nvidia.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>,
<gregkh@linuxfoundation.org>, <linux@armlinux.org.uk>,
<agross@kernel.org>, <bjorn.andersson@linaro.org>,
<ldewangan@nvidia.com>, <thierry.reding@gmail.com>
Cc: <vkoul@kernel.org>, <jslaby@suse.com>,
<linux-serial@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-msm@vger.kernel.org>, <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH 3/3] tty: serial: tegra: Use dma_request_chan() directly for channel request
Date: Thu, 14 Nov 2019 07:05:12 +0000 [thread overview]
Message-ID: <17285b24-b94b-7e86-d386-c5cf3c15c259@nvidia.com> (raw)
In-Reply-To: <20191113094618.1725-4-peter.ujfalusi@ti.com>
On 13/11/2019 09:46, Peter Ujfalusi wrote:
> dma_request_slave_channel_reason() is:
> #define dma_request_slave_channel_reason(dev, name) \
> dma_request_chan(dev, name)
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> drivers/tty/serial/serial-tegra.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c
> index 2f599515c133..b6ace6290e23 100644
> --- a/drivers/tty/serial/serial-tegra.c
> +++ b/drivers/tty/serial/serial-tegra.c
> @@ -1122,8 +1122,7 @@ static int tegra_uart_dma_channel_allocate(struct tegra_uart_port *tup,
> int ret;
> struct dma_slave_config dma_sconfig;
>
> - dma_chan = dma_request_slave_channel_reason(tup->uport.dev,
> - dma_to_memory ? "rx" : "tx");
> + dma_chan = dma_request_chan(tup->uport.dev, dma_to_memory ? "rx" : "tx");
> if (IS_ERR(dma_chan)) {
> ret = PTR_ERR(dma_chan);
> dev_err(tup->uport.dev,
>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Cheers!
Jon
--
nvpublic
prev parent reply other threads:[~2019-11-14 7:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 9:46 [PATCH 0/3] tty: serial: " Peter Ujfalusi
2019-11-13 9:46 ` [PATCH 1/3] tty: serial: amba-pl011: " Peter Ujfalusi
2019-11-13 9:46 ` [PATCH 2/3] tty: serial: msm_serial: " Peter Ujfalusi
2019-11-13 9:46 ` [PATCH 3/3] tty: serial: tegra: " Peter Ujfalusi
2019-11-14 7:05 ` Jon Hunter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17285b24-b94b-7e86-d386-c5cf3c15c259@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=ldewangan@nvidia.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=peter.ujfalusi@ti.com \
--cc=thierry.reding@gmail.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®