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>
This commit is contained in:
Bard Liao 2015-10-12 21:34:59 +08:00 committed by Mark Brown
parent 6ff33f3902
commit a5fe58fd28

View file

@ -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;
}