diff options
author | Javi Merino <javi.merino@arm.com> | 2014-11-25 16:00:33 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-08 12:10:44 +0800 |
commit | b6cc772f64ac7d1917770406844b73a94ca5ef06 (patch) | |
tree | 91a4036308f97df59865b02f5b941b799ddd1755 /net/bluetooth/smp.c | |
parent | 84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab (diff) | |
download | op-kernel-dev-b6cc772f64ac7d1917770406844b73a94ca5ef06.zip op-kernel-dev-b6cc772f64ac7d1917770406844b73a94ca5ef06.tar.gz |
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>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions