commit | 0548a95dd750f3e43d399e66d402888b6fb8d11a | [log] [tgz] |
---|---|---|
author | Hanumath Prasad <hpprasad@codeaurora.org> | Tue Jul 07 17:48:58 2015 +0530 |
committer | Rohit Gupta <rohgup@codeaurora.org> | Tue Mar 28 17:54:05 2017 -0700 |
tree | 6c1294824abff49e83622f6e1360188fa47f419c | |
parent | 1e9604b5c7e0e5ce3dec585bef2494e413f670ec [diff] |
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: Hanumath Prasad <hpprasad@codeaurora.org>