mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-10 00:00:43 +02:00
When an interrupt is freed, the shutdown or the disable callback is called for that interrupt. These calls might not be implemented or even if they were, might not mask the interrupt. Explicitly mask the interrupt when it is freed. If not masked, the interrupt could trigger, set the pending bit in the irq controller and cause unnecessary wakeup or exits from idle power collapse. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Conflicts: kernel/irq/manage.c