]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: thermal: tsens: Common get_temp() learns to do ADC conversion
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:17:58 +0000 (18:47 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 13:59:22 +0000 (06:59 -0700)
commit70b40f7b6db4c3b746baf9f32092f3ed76a21174
treec34c95e063155ce72b39b5450859fe75a658576a
parent422e533c2151bfcaafec39612bf7fc498a2bffd8
drivers: thermal: tsens: Common get_temp() learns to do ADC conversion

get_temp() learns to return temperature regardless of whether it is
returned as ADC code or direct temperature.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/tsens-common.c