ipq806x: tsens: convert degrees to millicelsius
authorPavel Kubelun <be.dissent@gmail.com>
Fri, 24 Mar 2017 13:12:40 +0000 (16:12 +0300)
committerJohn Crispin <john@phrozen.org>
Mon, 27 Mar 2017 06:05:10 +0000 (08:05 +0200)
commit9ac4c1dcee7ba101233ac03437382e0831b74577
treea4925f9beec5f715bc700baefa3c515a9fa98b8b
parentdc32d0a53cc01d9f644c6e9851b6770440d4b28c
ipq806x: tsens: convert degrees to millicelsius

Current driver shows temp in full degrees while other apps await it
to be in millidegrees.

Initially the driver represents termal data in millidegrees but then
it gets divided by TSENS_FACTOR. So lets just set it to '1'.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
target/linux/ipq806x/patches-4.9/0063-1-ipq806x-tsens-driver.patch