Files
linux/drivers/bus/mhi/host
Qiang Yu acc5495bf7 bus: mhi: host: Fix up null pointer access in mhi_irq_handler
The irq handler for a shared IRQ ought to be prepared for running
even now it's being freed. So let's check the pointer used by
mhi_irq_handler to avoid null pointer access since it is probably
released before freeing IRQ.

Fixes: 1227d2a20c ("bus: mhi: host: Move IRQ allocation to controller registration phase")
Signed-off-by: Qiang Yu <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Tested-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mani: added fixes tag]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
2022-08-29 22:33:46 +05:30
..
…
…