commit | b6cc772f64ac7d1917770406844b73a94ca5ef06 | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Tue Nov 25 16:00:33 2014 +0000 |
committer | Zhang Rui <rui.zhang@intel.com> | Mon Dec 08 12:10:44 2014 +0800 |
tree | 91a4036308f97df59865b02f5b941b799ddd1755 | |
parent | 84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab [diff] |
thermal: lock the thermal zone when switching governors Currently, userspace can request a governor change while the governor itself is running. Grab the thermal zone lock when changing the governor to prevent this race. Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>