thermal: kconfig: select THERMAL_WRITABLE_TRIPS for x86 thermal
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 3 Aug 2015 11:13:16 +0000 (04:13 -0700)
committerZhang Rui <rui.zhang@intel.com>
Sat, 10 Oct 2015 01:49:21 +0000 (09:49 +0800)
commit98cadf25dae234130994d9c71cd0d925db4b2a6a
tree0b946ab0b023d4b63dd3ac323ee17115ad3da8ab
parent049e6dde7e57f0054fdc49102e7ef4830c698b46
thermal: kconfig: select THERMAL_WRITABLE_TRIPS for x86 thermal

After the commit "thermal: core: Add Kconfig option to enable writable
trips", by default the trips are read only. This cause user space thermal
controllers to poll for temperature as they can't set temperature
thresholds for getting a notification via uevents. These programs use RW
trip in a zone to register thresholds. Since we need to enable the new
config introduced by above commit to allow writable trips, selecting
CONFIG_THERMAL_WRITABLE_TRIP for x86 thermal drivers.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/thermal/Kconfig