diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-03 16:02:10 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-03 16:45:12 +0000 |
commit | 4514e8997fbefd5befd6176ac9785e287b4daed4 (patch) | |
tree | d0f94af96bce10bd79aac2735af4a4aa3f87e202 /sound/soc/omap | |
parent | 062869382bb2821bb8482db1e67850dfd11296fb (diff) | |
download | kernel_samsung_aries-4514e8997fbefd5befd6176ac9785e287b4daed4.zip kernel_samsung_aries-4514e8997fbefd5befd6176ac9785e287b4daed4.tar.gz kernel_samsung_aries-4514e8997fbefd5befd6176ac9785e287b4daed4.tar.bz2 |
ASoC: When disabling WM8994 FLL force a source selection
When we disable the WM8994 FLL code path sharing means that we end up
writing out a configuration. Currently this is the currently active
input and output frequency (which causes snd_soc_update_bits() to
suppress actual writes both immediately and in the common case where
we reenable the same configuration later) but we allow machine drivers
to pass through a source of zero. Since the register values written
are one less than the source constants this causes corruption of other
bitfields in the register.
Fix this by using the most recently configured FLL source when none is
provided.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc/omap')
0 files changed, 0 insertions, 0 deletions