From: Eduardo Valentin Date: Tue, 19 Mar 2013 14:54:26 +0000 (-0400) Subject: staging: ti-soc-thermal: fix condition to apply hyst X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~502 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d43b7a51af16977b260c05435d61fc653f584a;p=pandora-kernel.git staging: ti-soc-thermal: fix condition to apply hyst While updating talert thresholds, threshold cold must always be lower than threshold hot. This patch fixes the function ti_bandgap_update_alert_threshold to only change the thresholds by applying a hysteresis when they violate this condition. Signed-off-by: Eduardo Valentin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed