Skip to contentSkip to conversation

ASoC: rt5670: Set RT5670_IRQ_CTRL1 non volatile

PATCH Applied Bard Liao 2 participants 2 messages Feb 16, 2015 – Feb 24, 2015

Subsystems (3)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ASoC: rt5670: Set RT5670_IRQ_CTRL1 non volatile

RT5670_IRQ_CTRL1(0xbd) is a non volatile register. And we need to restore its value after suspend/resume.

---
 sound/soc/codecs/rt5670.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/rt5670.c +0 -1
index 6aa4ab2..04ca247 100644
@@ -225,7 +225,6 @@ static bool rt5670_volatile_register(struct device *dev, unsigned int reg)
 	case RT5670_ADC_EQ_CTRL1:
 	case RT5670_EQ_CTRL1:
 	case RT5670_ALC_CTRL_1:
-	case RT5670_IRQ_CTRL1:
 	case RT5670_IRQ_CTRL2:
 	case RT5670_INT_IRQ_ST:
 	case RT5670_IL_CMD:
Signature · 1 line
1.8.1.1.439.g50a6b54
maintainer Applied
#1 lore raw
Quoted 2 lines · Bard Liao

RT5670_IRQ_CTRL1(0xbd) is a non volatile register. And we need to restore its value after suspend/resume.

Applied, thanks.