cpufreq: interactive: fix deadlock on spinlock in timer
authorTodd Poynor <toddpoynor@google.com>
Wed, 2 Jan 2013 21:14:00 +0000 (13:14 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:19 +0000 (14:16 -0700)
commit0f44c51f175b90b054d1bdb60b10dc371fe9f8a0
treeb5c25550deb78d66ddc4a567d8f11006d78113e9
parentbfea469069cacab4b3996f00b5389efbc8b46e95
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