[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y07D8qIPJYrwqWPM@orome>
Date: Tue, 18 Oct 2022 17:19:14 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Kartik <kkartik@...dia.com>
Cc: ldewangan@...dia.com, gregkh@...uxfoundation.org,
jirislaby@...nel.org, jonathanh@...dia.com, alan@...ux.intel.com,
swarren@...dia.com, akhilrajeev@...dia.com,
linux-serial@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] serial: tegra: Read DMA status before terminating
On Tue, Oct 18, 2022 at 08:28:06PM +0530, Kartik wrote:
> Read the DMA status before terminating the DMA, as doing so deletes
> the DMA desc.
>
> Also, to get the correct transfer status information, pause the DMA
> using dmaengine_pause() before reading the DMA status.
>
> Fixes: e9ea096dd225 ("serial: tegra: add serial driver")
>
> Signed-off-by: Akhil R <akhilrajeev@...dia.com>
> Signed-off-by: Kartik <kkartik@...dia.com>
> ---
> v1->v2:
> * Pause the DMA before reading the DMA status.
> * Updated commit message.
>
> drivers/tty/serial/serial-tegra.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Seems fine:
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists