diff options
| author | Oliver Hartkopp <[email protected]> | 2012-02-15 16:51:56 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2012-02-20 10:36:56 +0000 |
| commit | a7762b10c12a70c5dbf2253142764b728ac88c3a (patch) | |
| tree | dd2dba7c245118fee835fb72935ff885e7fddda8 /drivers/net/usb/zaurus.c | |
| parent | b44: remove __exit from b44_pci_exit() (diff) | |
| download | kernel-a7762b10c12a70c5dbf2253142764b728ac88c3a.tar.gz kernel-a7762b10c12a70c5dbf2253142764b728ac88c3a.zip | |
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: [email protected] [3.2+]
Signed-off-by: Oliver Hartkopp <[email protected]>
Acked-by: Wolfgang Grandegger <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/net/usb/zaurus.c')
0 files changed, 0 insertions, 0 deletions
