ASoC: rt5670: Set RT5670_IRQ_CTRL1 non volatile
authorBard Liao <bardliao@realtek.com>
Mon, 16 Feb 2015 05:06:45 +0000 (13:06 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 08:22:39 +0000 (17:22 +0900)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/rt5670.c

index d33f33ce865a2a47a243b621922b4ed8365be5e1..b651bc06cfdf599e48b0c4695ab545b19e664052 100644 (file)
@@ -223,7 +223,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: