kernel_optimize_test/drivers/net/can
Oliver Hartkopp a7762b10c1 can: sja1000: fix isr hang when hw is unplugged under load
In the case of hotplug enabled devices (PCMCIA/PCIeC) the removal of the
hardware can cause an infinite loop in the common sja1000 isr.

Use the already retrieved status register to indicate a possible hardware
removal and double check by reading the mode register in sja1000_is_absent.

Cc: stable@kernel.org [3.2+]
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-02-20 11:36:56 +01:00
..
c_can
cc770
mscan
sja1000
softing
usb
at91_can.c
bfin_can.c
dev.c
flexcan.c
janz-ican3.c
Kconfig
Makefile
mcp251x.c
pch_can.c
slcan.c
ti_hecc.c
vcan.c