aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAmelie Delaunay <[email protected]>2023-08-08 18:19:06 +0200
committerGreg Kroah-Hartman <[email protected]>2023-08-22 15:28:51 +0200
commit2490a0ca5735714bd2ba8ba8a41fa9343b422113 (patch)
treeea22bc74a86e875ac1e154c00601fab0994b981c /net/lapb/lapb_timer.c
parenta01ae50d7eae9e145e595b17fd16a7559e99492b (diff)
serial: stm32: synchronize RX DMA channel in shutdown
In shutdown, RX DMA channel is terminated. If the DMA RX callback is scheduled but not yet executed, while a new RX DMA transfer is started, the callback can be executed, and then disturb the ongoing RX DMA transfer. To avoid such a case, call dmaengine_synchronize in shutdown, after the DMA RX channel is terminated. Signed-off-by: Amelie Delaunay <[email protected]> Signed-off-by: Valentin Caron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions