]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
hwmon: tegra: tsensor: improve counter accuracy
authorDaniel Fu <danifu@nvidia.com>
Wed, 11 Jul 2012 07:11:56 +0000 (15:11 +0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:48:54 +0000 (00:48 -0700)
commitdfce5a33fe6fb78d17ad89d6df8fe81d16f0ebd1
tree02616eb00efad34c12d80be92af179d89fd06879
parent74ad7318ac8942b1bd182768559bacc68367688f
hwmon: tegra: tsensor: improve counter accuracy

When set threshold of tsensor,convert the temp to counter.
The counter convert from temp is with ~1.8C average error.
Improved the accuracy, make it to be ~0.1C.

Bug 1015288

Change-Id: Icab03b559eaeb8846dd1191869afe39c9965f934
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/114904
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Rebase-Id: Rbac6bde6ff6d5681135fe41fe0c20c27d9a8020a
drivers/hwmon/tegra-tsensor.c