Commit 81467efc authored by Bard Liao's avatar Bard Liao Committed by Mark Brown

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: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1a695a90
...@@ -440,6 +440,7 @@ static bool rt5645_volatile_register(struct device *dev, unsigned int reg) ...@@ -440,6 +440,7 @@ static bool rt5645_volatile_register(struct device *dev, unsigned int reg)
switch (reg) { switch (reg) {
case RT5645_RESET: case RT5645_RESET:
case RT5645_PRIV_INDEX:
case RT5645_PRIV_DATA: case RT5645_PRIV_DATA:
case RT5645_IN1_CTRL1: case RT5645_IN1_CTRL1:
case RT5645_IN1_CTRL2: case RT5645_IN1_CTRL2:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment