aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-07-05 21:55:14 -0400
committerMark Brown <broonie@kernel.org>2016-07-07 05:56:19 -0400
commit81467efcc88298ecd821c26fab04ce1b2c9d1b65 (patch)
treeb2b667a289c3923a18df532646d15ca804da8866
parent1a695a905c18548062509178b98bc91e67510864 (diff)
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 <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt5645.c1
1 files changed, 1 insertions, 0 deletions
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)
440 440
441 switch (reg) { 441 switch (reg) {
442 case RT5645_RESET: 442 case RT5645_RESET:
443 case RT5645_PRIV_INDEX:
443 case RT5645_PRIV_DATA: 444 case RT5645_PRIV_DATA:
444 case RT5645_IN1_CTRL1: 445 case RT5645_IN1_CTRL1:
445 case RT5645_IN1_CTRL2: 446 case RT5645_IN1_CTRL2: