2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/net/can/sja1000
Oliver Hartkopp 2fea6cd303 can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value
This patch fixes the issue that the sja1000_interrupt() function may have
returned IRQ_NONE without processing the optional pre_irq() and post_irq()
function before. Further the irq processing counter 'n' is moved to the end of
the while statement to return correct IRQ_[NONE|HANDLED] values at error
conditions.

Reported-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-11-25 21:16:53 +01:00
..
ems_pci.c can: sja1000: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
ems_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
Kconfig can: sja1000: limit PEAK PCAN-PC Card to HAS_IOPORT 2013-03-27 14:51:49 +01:00
kvaser_pci.c can: sja1000: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
Makefile can: sja1000: add support for PEAK-System PCMCIA card 2012-03-03 17:40:46 +01:00
peak_pci.c can: sja1000: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
peak_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
plx_pci.c can: sja1000: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
sja1000_isa.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
sja1000_of_platform.c drivers: remove unnecessary prom.h includes 2013-10-09 20:03:58 -05:00
sja1000_platform.c can: sja1000: use dev_get_platdata() 2013-09-21 15:43:14 +02:00
sja1000.c can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value 2013-11-25 21:16:53 +01:00
sja1000.h can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
tscan1.c can: remove __dev* attributes 2012-12-03 11:16:11 -08:00