thermal/drivers/tsens: Add VER_0 tsens version
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 20 Apr 2021 18:33:37 +0000 (20:33 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 Apr 2021 12:09:14 +0000 (14:09 +0200)
commit53e2a20e4c41683b695145436b34aa4a14bbcd8c
treef4b2d945b79bb4ed5c35004375264a903f652c95
parenta0ed1411278db902a043e584c8ed320fe34346b6
thermal/drivers/tsens: Add VER_0 tsens version

VER_0 is used to describe device based on tsens version before v0.1.
These device are devices based on msm8960 for example apq8064 or
ipq806x. Add support for VER_0 in tsens.c and set the right tsens feat
in tsens-8960.c file.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210420183343.2272-4-ansuelsmth@gmail.com
drivers/thermal/qcom/tsens-8960.c
drivers/thermal/qcom/tsens.c
drivers/thermal/qcom/tsens.h