]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: WM8903: HP and Line out PGA/mixer DAPM fixes
authorDilan Lee <dilee@nvidia.com>
Thu, 7 Apr 2011 17:08:38 +0000 (11:08 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Apr 2011 00:17:11 +0000 (09:17 +0900)
commitf1f3e10adeca3d4b517e1c068b593aa6384ecaa8
tree8ba661dd3ac4daaa523566de7d07e0223b244911
parent623b296a5e85f82b5da5b9f26c4dcfeb172df0e6
ASoC: WM8903: HP and Line out PGA/mixer DAPM fixes

Update the headphone and line out mixers and PGAs use the same logical
set of register bits and sequencing as the speaker mixer/PGA.

This allows ALSA controls for mute and volume on headphone and line out
to operate correctly.

Per conversation on alsa-devel, earlier datasheets indicated that the
POWER_MANAGEMENT_* register bits 0 and 1 were aliases to ANALOG_* register
bits 0 and 4, and hence only one copy of those bits was programmed.
However, later datasheets corrected this.

From: Dilan Lee <dilee@nvidia.com>
[swarren: Applied same change to headphone widgets]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8903.c