diff options
author | 2020-01-10 11:16:04 +0100 | |
---|---|---|
committer | 2020-01-27 15:40:21 +0100 | |
commit | 9d8593f22ea33a88f89075b14fc58a95fc15b8ae (patch) | |
tree | a5c74bd3d336b69ebf0838e0253263ffda8bac2f /drivers/usb/cdns3/cdns3-imx.c | |
parent | thermal: stm32: Handle multiple trip points (diff) | |
download | wireguard-linux-9d8593f22ea33a88f89075b14fc58a95fc15b8ae.tar.xz wireguard-linux-9d8593f22ea33a88f89075b14fc58a95fc15b8ae.zip |
thermal: stm32: Improve temperature computing
Change the way of computing to avoid rounds by 1 or 2 degrees.
Also simplify the sampling time management that is hard-coded
to maximum value during probe.
Signed-off-by: Pascal Paillet <p.paillet@st.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200110101605.24984-6-p.paillet@st.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions