diff options
author | Valentin Caron <[email protected]> | 2023-08-08 18:19:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 15:28:51 +0200 |
commit | 7f28bcea824e4fb192214c6121161053efe738a8 (patch) | |
tree | c9bef8b957404a355b7daa9f11c5557be396545d /net/lapb/lapb_timer.c | |
parent | 00d1f9c6af0d4c8b1ae8b9aecbd8aa6295b4abf2 (diff) |
serial: stm32: group dma pause/resume error handling into single function
Create new function "stm32_usart_dma_pause_resume" that called dmaengine_
pause/resume and in case of error, terminate dma transaction.
Two other functions are created to facilitate the use of stm32_usart_dma
_pause_resume : stm32_usart_tx_dma_pause, stm32_usart_tx_dma_resume.
Equivalent functions for rx will be added in future patch.
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