commit | 54fc08ea6d33c6c561167f369cba060fe33755c9 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Sun Aug 26 20:33:43 2012 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Oct 08 13:39:24 2012 -0700 |
tree | c41960b15588c87deb05ddd5ae885938ddb5a73b | |
parent | 5106c477a747279dbf045eed5a6ab4f68ac3501c [diff] |
cpufreq: msm: fix race in cpufreq __cpufreq_driver_target expects to be called with the rw semaphore held. We are not doing this when the frequency is asked to be changed by dcvs. Use cpufreq_driver_target variant of that function which gets the rw semaphore before setting the frequency. Change-Id: I67a7d437f68749f43c26b95ae73f436890326019 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>