aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorValentin Caron <[email protected]>2023-08-08 18:19:01 +0200
committerGreg Kroah-Hartman <[email protected]>2023-08-22 15:28:51 +0200
commitdb89728abad5ab6b8f30349142897bd55f1f5b00 (patch)
tree1995cea65079a18c75aafedb41b71f7c65701dc9 /net/lapb/lapb_timer.c
parente112ec4202b154fa7409d388d77151804e462876 (diff)
serial: stm32: avoid clearing DMAT bit during transfer
It's rather advised to rely on DMA pause / resume instead of clearing/setting DMA request enable bit for the same purpose. Some DMA request/acknowledge race may encountered by doing so. We prefer to use dmaengine_pause and resume instead to pause a dma transfer when it is necessary. It is also safer to close DMA before reset DMAT in stm32_usart_shutdown. 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