commit | 01adff12bb9c04d41fb695a9d28373bea53eeb05 | [log] [tgz] |
---|---|---|
author | Saravana Kannan <skannan@codeaurora.org> | Tue Jul 11 17:39:53 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Jul 13 18:30:07 2017 -0700 |
tree | 2f28dab97dd9176144c5863c6557dd1160f96ee9 | |
parent | e19174d25ff1f72c16bb1bf927b189ba8cef0f45 [diff] |
cpufreq: schedutil: Fix incorrect locking The update_lock can be grabbed from IRQ context. So, we need to use the irqsave/restore variants of the spin lock API when the lock is grabbed in a thread context. We were not doing that. Fix it. Change-Id: I5977aa4bb78a8cff47ea053f5a7bab544caca24f Signed-off-by: Saravana Kannan <skannan@codeaurora.org>