diff options
author | Yangtao Li <frank@allwinnertech.com> | 2020-07-24 15:11:42 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-10-12 12:08:36 +0200 |
commit | 771151bed994850c9afe48a8c8400d6aad33071a (patch) | |
tree | c4ef369257c76bd960799e427a036c86c0185b55 /net/Makefile | |
parent | 691f189d817bd513b55154d54d9c378fe368bae3 (diff) | |
download | linux-stable-771151bed994850c9afe48a8c8400d6aad33071a.tar.gz linux-stable-771151bed994850c9afe48a8c8400d6aad33071a.tar.bz2 linux-stable-771151bed994850c9afe48a8c8400d6aad33071a.zip |
thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate
For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of
calculation. On the other hand, the newer SOC may store other data in
the space other than 12bit sensor data. Add mask operation to read data
to avoid conversion error.
Signed-off-by: Yangtao Li <frank@allwinnertech.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/dcf98648c16aff7649ff82438bfce6caae3e176f.1595572867.git.frank@allwinnertech.com
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions