diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-13 19:44:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-17 15:04:11 +0100 |
commit | 71ab1c0336c71ace5725740f200beca9667a339f (patch) | |
tree | fafea1d11893facf26a3602a194f46869208fafe /tools/perf/scripts/python/exported-sql-viewer.py | |
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 <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions