linux/arch/mips/loongson2ef
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
..
common MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
fuloong-2e MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
lemote-2f MIPS: pass non-NULL dev_id on shared request_irq() 2020-03-16 16:04:49 +01:00
Kconfig MIPS: Loongson2ef: Convert to early_printk_8250 2019-11-11 10:45:00 -08:00
Makefile
Platform