scsi: ufs: Disable irq before turning off clocks in suspend path
In ufs suspend path we are turning off the clocks first and then disabling the irq. But in few scenarios link remains in active state (say rpm_lvl=2) and there is a chance that link can trigger error interrupts. If interrupt gets triggered after disabling clocks and before disabling irq, ISR gets invoked and tries to read registers which can lead to un-clocked access. To avoid this scenario, disable irq before disabling clocks. Change-Id: Ia9df61ac11d1e27f4d373df42d79b6fa7a11c28f Signed-off-by:Veerabhadrarao Badiganti <vbadigan@codeaurora.org> [dereference23: Apply to msm-4.14] Signed-off-by:
Alexander Winkowski <dereference23@outlook.com> Signed-off-by:
Pranav Vashi <neobuddy89@gmail.com>
Loading
Please register or sign in to comment