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-12-30 11:53:23 +01:00
2020-06-27 13:50:51 +02:00
2020-07-21 20:04:54 +02:00
2020-10-28 13:39:14 +01:00
2020-07-21 20:04:54 +02:00
2020-09-30 14:31:04 +02:00
2020-11-12 09:41:07 +01:00
2020-08-31 07:19:25 +02:00
2020-03-07 09:52:01 +01:00
2020-05-04 11:49:57 +02:00
2020-01-29 10:13:27 -08:00
2020-09-16 13:16:20 +02:00
2020-02-19 11:38:58 +01:00
2020-10-28 13:40:25 +01:00
2020-09-04 18:07:20 +02:00
2020-03-07 09:52:01 +01:00
2020-08-18 13:51:18 +02:00
2020-03-12 10:03:54 +01:00
2020-07-29 17:11:02 +02:00
2020-11-12 09:39:53 +01:00
2020-11-06 17:23:49 +01:00
2020-06-26 15:40:16 +01:00
2020-07-20 09:39:11 +02:00
2020-05-15 12:22:19 +02:00
2020-04-16 16:12:33 +02:00
2020-08-18 13:54:34 +02:00
2021-03-17 17:06:31 +01:00
2020-10-05 13:32:30 +02:00
2020-08-18 13:51:18 +02:00
2020-01-29 10:13:27 -08:00
2020-07-24 10:44:27 +02:00
2020-01-29 10:13:27 -08:00
2021-01-27 11:55:16 +01:00
2020-07-10 14:44:46 +02:00
2020-08-23 17:36:59 -05:00
2020-04-23 15:46:30 +02:00
2020-09-27 14:17:43 +02:00
2020-03-12 10:00:22 +01:00
2020-03-07 09:52:01 +01:00
2020-12-30 11:54:11 +01:00
2020-09-30 09:12:03 +02:00
2020-08-23 17:36:59 -05:00
2020-08-18 15:02:06 +02:00
2020-08-18 13:53:42 +02:00
2020-09-07 22:24:51 +02:00
2020-09-04 17:14:47 +02:00
2020-12-26 16:02:43 +01:00
2020-03-07 09:52:01 +01:00
2020-11-06 17:24:41 +01:00
2020-08-23 17:36:59 -05:00
2020-07-21 18:21:49 +02:00
2020-04-16 16:13:34 +02:00
2021-01-27 11:54:59 +01:00
2020-03-07 09:52:01 +01:00
2020-03-18 12:20:04 +01:00
2021-03-25 09:04:10 +01:00
2020-05-15 12:24:15 +02:00
2020-07-21 18:21:49 +02:00
2020-06-25 14:21:28 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-18 13:33:13 +02:00
2020-03-07 09:52:01 +01:00
2020-07-21 20:04:54 +02:00
2020-09-16 13:14:58 +02:00
2020-08-23 17:36:59 -05:00
2020-01-29 10:13:27 -08:00