misc: nct1008: Fix nct1008 reading negative on suspend resume
authorDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 18 Dec 2012 23:43:32 +0000 (15:43 -0800)
committerVarun Colbert <vcolbert@nvidia.com>
Fri, 28 Dec 2012 22:13:47 +0000 (14:13 -0800)
commitd9e2cdf83d4e2242197b5b7154391031b3ac63be
tree83bd9dca603a92ee479fb615059c41323540a2df
parent7b8337803bca6cf52232754209d8eb1432c17ca8
misc: nct1008: Fix nct1008 reading negative on suspend resume

Do not save standby state in saved config to avoid some unknown race
condition that corrupts it on suspend and resume leading to improper
range setting and negative temperature readings.

Bug 1202277

Change-Id: I043b6c66e6113008756425a68b0e8ffbe95d0cab
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172516
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
drivers/misc/nct1008.c