linux/arch/mips/pmcs-msp71xx
afzal mohammed 49e6e07e3c MIPS: pass non-NULL dev_id on shared request_irq()
Recently all usages of setup_irq() was replaced by request_irq().
request_irq() does a few sanity checks that were not done in
setup_irq(), if they fail irq registration will fail. One of the check
is to ensure that non-NULL dev_id is passed in the case of shared irq.
This caused malta on qemu to hang.

Fix it by passing handler as dev_id to all request_irq()'s that are
shared. For sni, instead of passing non-NULL dev_id, remove shared irq
flags.

Fixes: ac8fd122e0 ("MIPS: Replace setup_irq() by request_irq()")
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Suggested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-03-16 16:04:49 +01:00
..
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform
msp_elb.c
msp_eth.c MIPS: MSP71xx: Remove checks for two macros 2014-05-23 15:12:39 +02:00
msp_hwbutton.c
msp_irq.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
msp_irq_cic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
msp_irq_per.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
msp_irq_slp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
msp_pci.c
msp_prom.c MIPS: pmcs-msp71xx: Remove unused addr variable 2019-10-03 15:47:17 -07:00
msp_serial.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
msp_setup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
msp_smp.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
msp_time.c MIPS: pass non-NULL dev_id on shared request_irq() 2020-03-16 16:04:49 +01:00
msp_usb.c MIPS: Remove no-op/identity casts 2018-08-31 11:49:20 -07:00