• Dilan Lee's avatar
    ASoC: WM8903: HP and Line out PGA/mixer DAPM fixes · 1b877cb5
    Dilan Lee authored
    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: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    1b877cb5
wm8903.c 61.3 KB