diff options
author | Bard Liao <bardliao@realtek.com> | 2015-10-12 09:34:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-12 13:02:03 -0400 |
commit | a5fe58fd2836987387a6ee8854c529db7f5be650 (patch) | |
tree | 7cc33cbcac007fa001f10821e3247c1f09f3938f | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) |
ASoC: rt298: set register non-volatile by default
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>
-rw-r--r-- | sound/soc/codecs/rt298.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c index 3c2f0f8d6266..ff126a7cee76 100644 --- 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) | |||
129 | case VERB_CMD(AC_VERB_GET_EAPD_BTLENABLE, RT298_HP_OUT, 0): | 129 | case VERB_CMD(AC_VERB_GET_EAPD_BTLENABLE, RT298_HP_OUT, 0): |
130 | return true; | 130 | return true; |
131 | default: | 131 | default: |
132 | return true; | 132 | return false; |
133 | } | 133 | } |
134 | 134 | ||
135 | 135 | ||