aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-05-01 18:14:41 +0200
committerMarc Kleine-Budde <[email protected]>2023-10-05 21:47:16 +0200
commit910f179aa0de17bab654291548aec378f74db293 (patch)
tree3166a7c28491d14122edec0a3f4aaf12eff6d9aa /drivers/fpga/microchip-spi.c
parentefad777c3e97472fbd6aa4e5db11dcb3ef3eae90 (diff)
can: at91_can: at91_irq_err_line(): make use of can_state_get_by_berr_counter()
On the sam9263 the SR bits for bus off, error passive, warning limit, and error active are not latched and reflect the current status of the controller. On the sam9x5 and newer SoCs these bits are latched. To simplify the code, use can_state_get_by_berr_counter() to get the state of the controller regardless of the SoC version. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions