From: Radhesh Fadnis Date: Tue, 13 Nov 2012 18:10:04 +0000 (-0400) Subject: staging: omap-thermal: fix context restore function X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~433 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b87ea759a4cc2cae359288f003aae6a027330860;p=pandora-kernel.git staging: omap-thermal: fix context restore function In the context restore function, if the context is lost or not is being checked by the contents of the counter register. But this is logic hold good as long as counter reset value is zero, if the reset value is non-zero then above logic doesn't hold good. Hence removed checking of the register value and restoring the context. Signed-off-by: Radhesh Fadnis Signed-off-by: Enric Balletbo i Serra Signed-off-by: Eduardo Valentin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed