diff options
author | 2015-10-12 21:34:59 +0800 | |
---|---|---|
committer | 2015-10-12 18:02:03 +0100 | |
commit | a5fe58fd2836987387a6ee8854c529db7f5be650 (patch) | |
tree | 7cc33cbcac007fa001f10821e3247c1f09f3938f /sound | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-a5fe58fd2836987387a6ee8854c529db7f5be650.tar.gz linux-a5fe58fd2836987387a6ee8854c529db7f5be650.tar.bz2 linux-a5fe58fd2836987387a6ee8854c529db7f5be650.zip |
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>
Diffstat (limited to 'sound')
-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) case VERB_CMD(AC_VERB_GET_EAPD_BTLENABLE, RT298_HP_OUT, 0): return true; default: - return true; + return false; } |