From: Tushar Behera Date: Mon, 14 Apr 2014 05:38:15 +0000 (+0530) Subject: thermal: samsung: Only update available threshold limits X-Git-Tag: omap-for-v3.16/fixes-against-rc1~50^2^4~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65d34735a2a31d3b015804706037f8cb0726950;p=pandora-kernel.git thermal: samsung: Only update available threshold limits Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. While updating the software trigger levels, it overwrites the threshold limit for hardware trip point thereby forcing the Exynos core to issue an emergency shutdown. Updating only the required fields in threshold register fixes this issue. Signed-off-by: Tushar Behera Acked-by: Amit Daniel Kachhap Signed-off-by: Zhang Rui --- Reading git-diff-tree failed