diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-11-14 11:59:21 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 10:55:48 -0800 |
commit | 59d5384899d0e8567dfd7875d4e174cce311de63 (patch) | |
tree | 449dcf7d22b67040142b05bc909e141bfa5c90f4 /lib/scatterlist.c | |
parent | 8559f25c6b72ebed12cf42ec60934b7ccdc96098 (diff) |
ASoC: wm8962: Turn on regcache_cache_only before disabling regulator
commit 50bfcf2df2fadf77e143d6099150e6fa7ef4d78c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/scatterlist.c')
0 files changed, 0 insertions, 0 deletions