Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0548a95d authored by Hanumath Prasad's avatar Hanumath Prasad Committed by Rohit Gupta
Browse files

PM / devfreq: bimc-bwmon: Update irq handling in suspend/resume



Change the sequence of registering and freeing the interrupt
handler in suspend/resume. Freeirq needs a guarantee that the
IRQ can't come anymore before we call it. So, we disable the IRQ
before calling freeirq.And register the handler before enabling
the irq to avoid the interrupt getting unhandled.

Change-Id: I3945202d049e16f64a16e456f914f7602b763c89
Signed-off-by: default avatarHanumath Prasad <hpprasad@codeaurora.org>
parent 1e9604b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment