Skip to content
  • Vitaliy Kulikov's avatar
    ALSA: hda - Fix LED GPIO setup for HP laptops with IDT codecs · c357aab0
    Vitaliy Kulikov authored
    
    
    This patch fixes an error in processing of the HP BIOS configuration to enable
    GPIO based mute LED indicator control. That error causes driver to enable
    such control on all HP systems with the 92HD75 IDT codecs and results in
    unnecessary toggling of the GPIO on mute control manipulation.
    
    It also adds support of the future HP BIOS configuration extension for the
    named control. New configuration string has a format HP_Mute_LED_P_G
    where P can be 0 or 1 and defines mute LED GPIO control state (low/high)
    that corresponds to the NOT muted state of the master volume
    and G is the index of the GPIO to use (0..9)
    
    Lastly, it adds more systems to the support of the audio implementation
    as found on HP B-series systems
    
    Signed-off-by: default avatarVitaliy Kulikov <Vitaliy.Kulikov@idt.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    c357aab0