diff mbox

ASoC: rt5670: Set RT5670_IRQ_CTRL1 non volatile

Message ID 1424063205-4256-1-git-send-email-bardliao@realtek.com (mailing list archive)
State Accepted
Commit 850529249d7cce02e9bfae9476d09c8c51410d28
Headers show

Commit Message

Bard Liao Feb. 16, 2015, 5:06 a.m. UTC
RT5670_IRQ_CTRL1(0xbd) is a non volatile register. And we need to
restore its value after suspend/resume.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5670.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Feb. 24, 2015, 8:22 a.m. UTC | #1
On Mon, Feb 16, 2015 at 01:06:45PM +0800, Bard Liao wrote:
> RT5670_IRQ_CTRL1(0xbd) is a non volatile register. And we need to
> restore its value after suspend/resume.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 6aa4ab2..04ca247 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -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: