diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2012-02-15 17:51:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-29 16:31:21 -0800 |
commit | 9bda01cc81b40639565e63223d7c5413bb15b99a (patch) | |
tree | 75c55a4f81d57d052e9f8f09faff747dc718765b /mm/page_cgroup.c | |
parent | c3d65b135f856651b2fa8606a7799a9f33d8f113 (diff) |
can: sja1000: fix isr hang when hw is unplugged under load
commit a7762b10c12a70c5dbf2253142764b728ac88c3a upstream.
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.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions