misc: nct1008: Reset current lo/hi limit values with register values
authorLucas Dai <lucasd@nvidia.com>
Tue, 8 Jan 2013 10:21:52 +0000 (18:21 +0800)
committerMandar Padmawar <mpadmawar@nvidia.com>
Fri, 11 Jan 2013 10:26:36 +0000 (02:26 -0800)
commit95983ad35966e7983c4eb22e8a07e195d6b77e2a
treef140ea98b308c2549b3019b445e4307cf908d417
parent7cf3f80a6086161f967dc76085dc57d82349b513
misc: nct1008: Reset current lo/hi limit values with register values

To sync current lo/hi limit values with register values, reset current
lo/hi limit values with register values when sensor configuration.

Bug 1214568

Change-Id: I8f597f21d0fcfeb31b2b882c56ff7b5946c3cab2
Signed-off-by: Lucas Dai <lucasd@nvidia.com>
Reviewed-on: http://git-master/r/189501
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/misc/nct1008.c