mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
ASoC: tas2764: Mark SW_RESET as volatile
[ Upstream commit f37f1748564ac51d32f7588bd7bfc99913ccab8e ] Since the bit is self-clearing. Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/20250208-asoc-tas2764-v1-3-dbab892a69b5@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
051f0ee928
commit
ec3a91e22b
@@ -654,6 +654,7 @@ static const struct regmap_range_cfg tas2764_regmap_ranges[] = {
|
|||||||
static bool tas2764_volatile_register(struct device *dev, unsigned int reg)
|
static bool tas2764_volatile_register(struct device *dev, unsigned int reg)
|
||||||
{
|
{
|
||||||
switch (reg) {
|
switch (reg) {
|
||||||
|
case TAS2764_SW_RST:
|
||||||
case TAS2764_INT_LTCH0 ... TAS2764_INT_LTCH4:
|
case TAS2764_INT_LTCH0 ... TAS2764_INT_LTCH4:
|
||||||
case TAS2764_INT_CLK_CFG:
|
case TAS2764_INT_CLK_CFG:
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user