Re: [PATCH] serial: tegra: read DMA status before terminating

From: Greg KH
Date: Tue Oct 18 2022 - 02:38:39 EST


On Tue, Oct 18, 2022 at 11:55:11AM +0530, Kartik wrote:
> To get the valid data, read DMA status before terminating the DMA. As
> dmaengine_terminate_all() deletes the DMA desc.
>
> Fixes: e9ea096dd225 ("serial: tegra: add serial driver")
>
> Signed-off-by: Akhil R <akhilrajeev@xxxxxxxxxx>
> Signed-off-by: Kartik <kkartik@xxxxxxxxxx>
> ---
> drivers/tty/serial/serial-tegra.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Why send this twice?

confused,

greg k-h