Erwan Le Ray
0e44f1e183
serial: stm32: fix DMA initialization error handling
...
[ Upstream commit e7997f7ff7f8154d477f6f976698d868a2ac3934 ]
DMA initialization error handling is not properly implemented in the
driver.
Fix DMA initialization error handling by:
- moving TX DMA descriptor request error handling in a new dedicated
fallback_err label
- adding error handling to TX DMA descriptor submission
- adding error handling to RX DMA descriptor submission
This patch depends on '24832ca3ee85 ("tty: serial: stm32-usart: Remove set
but unused 'cookie' variables")' which unfortunately doesn't include a
"Fixes" tag.
Fixes: 3489187204eb ("serial: stm32: adding dma support")
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Link: https://lore.kernel.org/r/20210106162203.28854-2-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-25 09:04:10 +01:00
..
2020-09-27 14:17:43 +02:00
2020-09-04 18:08:16 +02:00
2020-03-06 14:10:44 +01:00
2021-03-25 09:04:10 +01:00
2021-03-07 12:34:09 +01:00
2020-07-16 12:35:15 -07:00
2020-03-17 23:40:31 +11:00
2020-07-16 12:35:15 -07:00
2020-06-14 01:57:21 +09:00
2020-08-23 17:36:59 -05:00
2020-06-27 16:21:20 +02:00
2020-05-15 14:47:05 +02:00
2021-03-04 11:37:36 +01:00
2021-03-04 11:37:36 +01:00
2021-03-04 11:37:36 +01:00
2021-03-04 11:37:36 +01:00
2021-03-04 11:37:36 +01:00
2021-03-04 11:37:36 +01:00
2020-03-18 13:01:31 +01:00
2021-03-07 12:34:16 +01:00
2020-03-18 12:59:29 +01:00
2020-09-04 18:10:30 +02:00
2020-04-27 09:33:21 +02:00
2020-09-04 18:07:22 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-10-02 14:56:06 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2021-03-07 12:34:16 +01:00
2020-08-23 17:36:59 -05:00
2020-12-04 17:39:58 +01:00
2020-08-18 13:51:18 +02:00
2020-04-28 14:38:54 +02:00