Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: tas2764: Mark die temp register as volatile

Reading the temperature register always returns the first value
read from the chip due to regcache.

Mark TAS2764_TEMP as volatile to prevent returning stale, cached
values when reading the die temp.

Fixes: 186dfc85f9a8 ("ASoC: tas2764: expose die temp to hwmon")
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20260425-tas27xx-hwmon-fixes-v1-1-83c13b8e8f54@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

James Calligeros and committed by
Mark Brown
4cfb5971 3c6f06a2

+1
+1
sound/soc/codecs/tas2764.c
··· 904 904 { 905 905 switch (reg) { 906 906 case TAS2764_SW_RST: 907 + case TAS2764_TEMP: 907 908 case TAS2764_INT_LTCH0 ... TAS2764_INT_LTCH4: 908 909 case TAS2764_INT_CLK_CFG: 909 910 return true;