mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
The current code will always return 0xffffffff in case of negative temperatures due to a bug in how the binary sign extension is being done. Use sign_extend32() instead. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| tsens-8916.c | ||
| tsens-8960.c | ||
| tsens-8974.c | ||
| tsens-common.c | ||
| tsens-v2.c | ||
| tsens.c | ||
| tsens.h | ||