]> git.openpandora.org Git - pandora-kernel.git/commitdiff
thermal: of: Enable thermal_zoneX when sensor is correctly added
authorLukasz Majewski <l.majewski@samsung.com>
Mon, 19 Jan 2015 11:44:04 +0000 (12:44 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 21 Jan 2015 05:09:52 +0000 (01:09 -0400)
Up till now the thermal_zone mode was by default "disabled". With this
patch the default behavior was changed to "enable".

One can read the mode at:
/sys/class/thermal/thermal_zone0/mode

Tested-by: Javi Merino <javi.merino@arm.com>
Reported-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>

No differences found