diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-12-13 19:44:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-12-17 15:04:11 +0100 |
| commit | 71ab1c0336c71ace5725740f200beca9667a339f (patch) | |
| tree | fafea1d11893facf26a3602a194f46869208fafe /scripts/stackusage | |
| parent | 2e948218b7c1262a3830823d6620eb227e3d4e3a (diff) | |
serial: sh-sci: Resume PIO in sci_rx_interrupt() on DMA failure
On (H)SCIF, sci_submit_rx() is called in the receive interrupt handler.
Hence if DMA submission fails, the interrupt handler should resume
handling reception using PIO, else no more data is received.
Make sci_submit_rx() return an error indicator, so the receive interrupt
handler can act appropriately.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions