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@xxxxxxxxxx> > Signed-off-by: Kartik <kkartik@xxxxxxxxxx> > --- > 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@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature