]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: rt5670: Set RT5670_IRQ_CTRL1 non volatile
authorBard Liao <bardliao@realtek.com>
Mon, 16 Feb 2015 05:06:45 +0000 (13:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:10 +0000 (14:11 +0100)
commit 850529249d7cce02e9bfae9476d09c8c51410d28 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/rt5670.c

index 1e574c85b9c8f267871a7a98d77b392f4d5f89cb..f4b869c638cc45ade3fe4c1e20c42f7351f9935f 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: