• Takashi Iwai's avatar
    ALSA: hda - Fix resume from StR of HP 2510p with docking-station · b7d2526f
    Takashi Iwai authored
    When HP laptop with AD1981 codec is suspended and the docking-station
    is connected before the resume, the outputs get confused, and wrongly
    routed still to the speaker.  This is because of a change in 2.6.34-rc1
    ea52bf26
        ALSA: hda: Add powerdown for Analog Devices HDA codecs
    
    The problem was the added resume callback that doesn't consider the
    modified init hook.  The fix is simply remove the resume callback here
    and make the resume normally.  This doesn't change any behavior intended
    in the commit above (for shutting down the sound at suspend) but only
    fixes the resume.
    Reported-and-tested-by: default avatarFrans Pop <elendil@planet.nl>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    b7d2526f
patch_analog.c 148 KB