• Takashi Iwai's avatar
    ALSA: hda - Fix initialization of secondary capture source on VT1705 · fc1156c0
    Takashi Iwai authored
    VT1705 codec has two ADCs where the secondary ADC has no MUX but only
    a fixed connection to the mic pin.  This confused the driver and it
    tries always overriding the input-source selection by assumption of
    the existing MUX for the secondary ADC, resulted in resetting the
    input-source at each time PM (including power-saving) occurs.
    
    The fix is simply to check the existence of MUX for secondary ADCs in
    the initialization code.
    Tested-by: default avatarAnisse Astier <anisse@astier.eu>
    Cc: <stable@kernel.org> [v3.1+]
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    fc1156c0
patch_via.c 104 KB