aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2022-10-25 12:02:42 +0300
committerVinod Koul <[email protected]>2022-11-08 10:43:57 +0530
commit06988949df8c3007ad82036d3606d8ae72ed9000 (patch)
treec3c901807d30b0e9398b33f5f6f1679be6e82337 /drivers/usb/cdns3/cdns3-debug.h
parentc6babed879fbe82796a601bf097649e07382db46 (diff)
dmaengine: at_hdmac: Fix concurrency over descriptor
The descriptor was added to the free_list before calling the callback, which could result in reissuing of the same descriptor and calling of a single callback for both. Move the decriptor to the free list after the callback is invoked. Fixes: dc78baa2b90b ("dmaengine: at_hdmac: new driver for the Atmel AHB DMA Controller") Reported-by: Peter Rosin <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/lkml/[email protected]/ Acked-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions