From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F5533F4DFC; Wed, 20 May 2026 17:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296840; cv=none; b=FbNbXgL874xkc7TkCyOHDtgv/hgpIwAVTKhfRHRoq4vqswUdmlJvIg+//2pIb7kNC0I87IbYY+43DxbLylgQtzYIE8d+vdqmFNRgUFXPk3CqUxuiGP2l3B618RuuxNdCCT+gXlFP0kMUEDsQNVOIX09Bj872+iUAB8acgf4IKS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296840; c=relaxed/simple; bh=JVx8R8RAZH5RsNCfVZEK+fpFxwfto7hNr2UZHu61rs8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a2MXqoT512TqNAUuOrhNthbgkzwUzM2htbwl5Hcv4GYHxM6E4YfBRvdg8bq18fAD4/OP+7Mku7kmQlxcME6SsqdFPXvBzm5e4sNiFuMNb41kXn0M7O3L9C258uOtC7s9krjwNgBJehbepo4QprY8/NUtLXMT7LKN/fXP88haUxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mUcXqzqk; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mUcXqzqk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB7D51F000E9; Wed, 20 May 2026 17:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779296838; bh=J9jS52JmmgYWQX5vrqiCQMerlkRHc5MinYupf5muWRc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mUcXqzqk6ff6NO+zJJE5XKXEgx0yyjSbEvKeVv3qVv/YmNmKFrrHsJTDvA7qDRVJi 3NnY4eDj9mVWB61XoQh4wWu5J6VFGV6cUDH0+GWFgEIUi5VqIWBv9UjuMuSjvQungh 89BrD9Tu4B4RDRbEymSQH5LtBitrzzLRadWH+0/g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, James Calligeros , Mark Brown , Sasha Levin Subject: [PATCH 7.0 0914/1146] ASoC: tas2764: Mark die temp register as volatile Date: Wed, 20 May 2026 18:19:24 +0200 Message-ID: <20260520162208.924552755@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: James Calligeros [ Upstream commit 4cfb5971c2fbfac061c23fb4224a3a008199de81 ] 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 Link: https://patch.msgid.link/20260425-tas27xx-hwmon-fixes-v1-1-83c13b8e8f54@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/tas2764.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/tas2764.c b/sound/soc/codecs/tas2764.c index 36e25e48b3546..9f351565dc82d 100644 --- a/sound/soc/codecs/tas2764.c +++ b/sound/soc/codecs/tas2764.c @@ -809,6 +809,7 @@ static bool tas2764_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case TAS2764_SW_RST: + case TAS2764_TEMP: case TAS2764_INT_LTCH0 ... TAS2764_INT_LTCH4: case TAS2764_INT_CLK_CFG: return true; -- 2.53.0