diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2026-10-23 18:13:12 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-26 20:04:23 +0000 |
| commit | 6a55cf0d9dd2e2493a5030a4f7b0413d31165e45 (patch) | |
| tree | 2a98d5da31baf7d8d1564ce08ce629aa077ca5a6 /scripts/Makefile.thinlto | |
| parent | 00535515e3c14fbee20de4a1aa61cfb3390f0f50 (diff) | |
| download | linux-6a55cf0d9dd2e2493a5030a4f7b0413d31165e45.tar.gz linux-6a55cf0d9dd2e2493a5030a4f7b0413d31165e45.zip | |
ASoC: codecs: wsa883x: Accept temperatures across the full trim range
wsa883x_get_temp() rejects any reading outside 5..45 degC with -EAGAIN,
so a speaker that has been playing, or sits in a warm chassis, becomes
unreadable above 45 degC.
Bound the check by the -10..150 degC two-point trim range instead, and
use inclusive comparisons, as in_range() excludes the upper bound.
Fixes: a02c42d41af7 ("ASoC: codecs: wsa883x: Implement temperature reading and hwmon")
Cc: stable@vger.kernel.org
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20261023171316.819857-4-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
