diff options
author | 2018-12-13 19:44:43 +0100 | |
---|---|---|
committer | 2018-12-17 15:04:11 +0100 | |
commit | 71ab1c0336c71ace5725740f200beca9667a339f (patch) | |
tree | fafea1d11893facf26a3602a194f46869208fafe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: sh-sci: Fix crash in rx_timer_fn() on PIO fallback (diff) | |
download | wireguard-linux-71ab1c0336c71ace5725740f200beca9667a339f.tar.xz wireguard-linux-71ab1c0336c71ace5725740f200beca9667a339f.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions