diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> | 2026-10-23 18:13:11 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-26 20:04:22 +0000 |
| commit | 00535515e3c14fbee20de4a1aa61cfb3390f0f50 (patch) | |
| tree | ac12536057a2736fb91bbae5e8486415c6c9d236 /scripts/Makefile.thinlto | |
| parent | e21fb64a8c4aecae31ec63f994423ac944705c3e (diff) | |
| download | linux-00535515e3c14fbee20de4a1aa61cfb3390f0f50.tar.gz linux-00535515e3c14fbee20de4a1aa61cfb3390f0f50.zip | |
ASoC: codecs: wsa884x: Accept temperatures across the full trim range
wsa884x_get_temp() rejects any reading outside 5..45 degC with -EAGAIN.
A speaker that has been playing, or sits in a warm laptop, easily runs
above 45 degC, so its temperature becomes unreadable when it matters.
The check only needs to drop bogus conversions, such as the all-zero
reading before the PA is first enabled. Bound it by the -10..150 degC
two-point trim range instead.
Fixes: 6b99dc62d940 ("ASoC: codecs: wsa884x: 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-3-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
