cpufreq: interactive: fix deadlock on spinlock in timer
authorTodd Poynor <toddpoynor@google.com>
Wed, 2 Jan 2013 21:14:00 +0000 (13:14 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:52 +0000 (13:52 -0800)
commitc7ad1e1b900f63c175f16b503755402c48fef0c6
tree238705262696480c04150668cb373e4758c47311
parent06371b575fa7823a9a95fbf27f82b4a706e7847e
cpufreq: interactive: fix deadlock on spinlock in timer

Need to use irqsave/restore spinlock calls to avoid a deadlock in calls
from the timer.

Change-Id: I15b6b590045ba1447e34ca7b5ff342723e53a605
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c