]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: tegra_soctherm: fix sign bit of temperature
authorWei Ni <wni@nvidia.com>
Tue, 8 Mar 2016 03:19:01 +0000 (11:19 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 8 Mar 2016 20:41:40 +0000 (12:41 -0800)
commitdd3fc4a8c24715fbeb4dcd4006ab61e26d9d131d
tree49df59556787f6e5b12bf32fe76e0ecc4c72a926
parent32176977792ca148387614ab84ac40a1d83501cc
thermal: tegra_soctherm: fix sign bit of temperature

The sign bit of temperature readback is bit 0, not bit 1.
Change to BIT(0) to fix it.

Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Matt Longnecker <mlongnecker@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra_soctherm.c