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)
commit5e25166f32e7364422e2c413b5667713d6fa0f85
tree49df59556787f6e5b12bf32fe76e0ecc4c72a926
parentbf82c350e940f5ee3508a94165a99eda81298d5f
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