]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: rt5677: set PLL_CTRL2 non-volatile
authorBard Liao <bardliao@realtek.com>
Fri, 18 Dec 2015 02:16:23 +0000 (10:16 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Dec 2015 00:36:40 +0000 (00:36 +0000)
commitd0d1eedd5ad345f16234311b375bf94d6c90e14b
tree17b5910cd3cdc43d78d952164af29d07fe03e074
parentcdab0d4ecc1a890aece7102c2074bf73175b9935
ASoC: rt5677: set PLL_CTRL2 non-volatile

There is a status bit on RT5677_PLL1_CTRL2 and RT5677_PLL2_CTRL2.
That's why those registers are set volatile. However, the status
bit is currently not used by codec driver. So, it should be no
problem if we set them non-volatile.
The purpose of setting them non-volatile is to restore the setting
after a syspend/resume cycle.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c