projects
/
GitHub
/
moto-9609
/
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:
6ff33f3
)
ASoC: rt298: set register non-volatile by default
author
Bard Liao
<bardliao@realtek.com>
Mon, 12 Oct 2015 13:34:59 +0000
(21:34 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 12 Oct 2015 17:02:03 +0000
(18:02 +0100)
It is not necessary to set registers volatile. So, return false
for default case of rt298_volatile_register.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt298.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt298.c
b/sound/soc/codecs/rt298.c
index 3c2f0f8d6266e358a667aa376fea3d094829845a..ff126a7cee76ff9f164a7f6e3a86f78ef0993b15 100644
(file)
--- a/
sound/soc/codecs/rt298.c
+++ b/
sound/soc/codecs/rt298.c
@@
-129,7
+129,7
@@
static bool rt298_volatile_register(struct device *dev, unsigned int reg)
case VERB_CMD(AC_VERB_GET_EAPD_BTLENABLE, RT298_HP_OUT, 0):
return true;
default:
- return
tru
e;
+ return
fals
e;
}