thermal: exynos: Fix wrong control of power down detection mode for Exynos7
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 24 Feb 2015 04:56:54 +0000 (13:56 +0900)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 2 Mar 2015 09:04:51 +0000 (10:04 +0100)
commit42b696e808bbea3a4ebf8029e1965d2314612402
tree990f4088bcc544c620e9d27baacc4d108ccde3d8
parent5912e264d9eec512598d8faf33440630a3aee989
thermal: exynos: Fix wrong control of power down detection mode for Exynos7

This patch fixes the wrong control of PD_DET_EN (power down detection mode)
for Exynos7 because exynos7_tmu_control() always enables the power down detection
mode regardless 'on' parameter.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/thermal/samsung/exynos_tmu.c