aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/constants.py.in
diff options
context:
space:
mode:
authorAnssi Hannula <[email protected]>2017-02-08 13:13:40 +0200
committerMarc Kleine-Budde <[email protected]>2018-07-23 14:34:45 +0200
commit877e0b75947e2c7acf5624331bb17ceb093c98ae (patch)
treee3047ed839cd505ac730e77b2ad7c9de4959e7b0 /scripts/gdb/linux/constants.py.in
parent32852c561bffd613d4ed7ec464b1e03e1b7b6c5c (diff)
can: xilinx_can: fix recovery from error states not being propagated
The xilinx_can driver contains no mechanism for propagating recovery from CAN_STATE_ERROR_WARNING and CAN_STATE_ERROR_PASSIVE. Add such a mechanism by factoring the handling of XCAN_STATE_ERROR_PASSIVE and XCAN_STATE_ERROR_WARNING out of xcan_err_interrupt and checking for recovery after RX and TX if the interface is in one of those states. Tested with the integrated CAN on Zynq-7000 SoC. Fixes: b1201e44f50b ("can: xilinx CAN controller support") Signed-off-by: Anssi Hannula <[email protected]> Cc: <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
0 files changed, 0 insertions, 0 deletions