• Hui Wang's avatar
    ALSA: hda - Fix a failure of micmute led when having multi adcs · 4875a5f7
    Hui Wang authored
    On a Dell laptop, there is no global adcs for all input devices, so
    the input devices use the different adc, as a result, dyn_adc_switch
    is set to true.
    
    In this situation, it is safe to control the micmute led according to
    user's choice of muting/unmuting the current input device, since only
    current input device path is active, while other input device paths
    are inactive and powered down.
    
    Fixes: 00ef9940 ('ALSA: hda - add mic mute led hook for dell machines')
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    4875a5f7
thinkpad_helper.c 2.34 KB