From: Javi Merino Date: Tue, 25 Nov 2014 16:00:33 +0000 (+0000) Subject: thermal: lock the thermal zone when switching governors X-Git-Tag: omap-for-v3.20/drop-legacy-3517~50^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6cc772f64ac7d1917770406844b73a94ca5ef06;p=pandora-kernel.git 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 Signed-off-by: Zhang Rui --- Reading git-diff-tree failed