]> git.sur5r.net Git - u-boot/commit
imx: ventana: gsc: fix negative temperature readings
authorTim Harvey <tharvey@gateworks.com>
Tue, 24 May 2016 18:03:51 +0000 (11:03 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:24:30 +0000 (17:24 +0200)
commit82a17e75da0d812c2e583e733efd1e67e7488933
treeb0dabd77e86287eae33d0661ee689641e61136f3
parentefa7ed7236ee5bfab871f35ce70f3e3e1d39b4f6
imx: ventana: gsc: fix negative temperature readings

The GSC Temperature sensor is a 2's complement value - adjust accordingly
for negative temperatures.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gsc.c