commit | 50bfcf2df2fadf77e143d6099150e6fa7ef4d78c | [log] [tgz] |
---|---|---|
author | Nicolin Chen <b42378@freescale.com> | Thu Nov 14 11:59:21 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Nov 14 17:04:21 2013 +0000 |
tree | a19b09d003ad8e2364c0280556cada92364ddce2 | |
parent | 9645083ca5ef365b7b750cf219bb20b61bb925f8 [diff] |
ASoC: wm8962: Turn on regcache_cache_only before disabling regulator It's safer to turn on regcache_cache_only before disabling regulator since the driver will turn off the regcache_cache_only after enabling regulator. If we remain cache_only false, some command like 'amixer cset' would get failure if being run before wm8962_resume(). Signed-off-by: Nicolin Chen <b42378@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org