From: Bard Liao Date: Wed, 6 Jul 2016 01:55:14 +0000 (+0800) Subject: ASoC: rt5645: set RT5645_PRIV_INDEX as volatile X-Git-Tag: v4.8-rc1~84^2~1^2~16^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=81467efcc88298ecd821c26fab04ce1b2c9d1b65;p=karo-tx-linux.git ASoC: rt5645: set RT5645_PRIV_INDEX as volatile RT5645_PRIV_INDEX(0x6a) indicate the address of PR- registers. So, it should be volatile. Signed-off-by: Bard Liao Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 3c6594da6c9c..c0438e4e045b 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -440,6 +440,7 @@ static bool rt5645_volatile_register(struct device *dev, unsigned int reg) switch (reg) { case RT5645_RESET: + case RT5645_PRIV_INDEX: case RT5645_PRIV_DATA: case RT5645_IN1_CTRL1: case RT5645_IN1_CTRL2: