projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a695a9
)
ASoC: rt5645: set RT5645_PRIV_INDEX as volatile
author
Bard Liao
<bardliao@realtek.com>
Wed, 6 Jul 2016 01:55:14 +0000
(09:55 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 7 Jul 2016 09:56:19 +0000
(11:56 +0200)
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>
sound/soc/codecs/rt5645.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 3c6594da6c9c95c8abb198706cac920bae3959da..c0438e4e045be42b666afc0be7f6069ba76aa3fa 100644
(file)
--- 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: