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>
1 file changed