commit | dbdaa582e4ee38c9e2c2d500ebb102a350b7e1fc | [log] [tgz] |
---|---|---|
author | Amit Kucheria <amit.kucheria@linaro.org> | Wed Mar 20 18:47:56 2019 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Tue May 14 06:59:20 2019 -0700 |
tree | 04d34bf9014cd7b27103178beb2c90815ee7917b | |
parent | 1b6e3e517fadcfbbe0f88eb676ebffafc20fd49c [diff] |
drivers: thermal: tsens: simplify get_temp_tsens_v2 routine The current implementation is based on an algorithm published in the docs. Instead of reading the temperature thrice w/o any explanation, improve the algorithm. This will become the basis for a common get_temp routine in the future. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>