diff options
author | afzal mohammed <[email protected]> | 2020-03-14 13:43:12 +0530 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2020-03-16 16:04:49 +0100 |
commit | 49e6e07e3c806c311e07da14a6d6e406ac9e719c (patch) | |
tree | 459d9fcb836127080e623345e253d83e7ba72de9 /drivers/usb/cdns3/cdns3-debug.h | |
parent | ac8fd122e070ce0e60c608d4f085f7af77290844 (diff) |
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: ac8fd122e070 ("MIPS: Replace setup_irq() by request_irq()")
Reported-by: Nathan Chancellor <[email protected]>
Suggested-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: afzal mohammed <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions