ALSA: hda - Detect HP mute-LED GPIO setup from GPIO counts
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Feb 2010 14:06:13 +0000 (15:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Feb 2010 14:06:13 +0000 (15:06 +0100)
The GPIO pin number for the mute LED control on HP laptops can be
determined more easily by checking the number of available GPIO pins
of the codec chip.  On a small package with up to 3 GPIOs, GPIO 0 is
used while GPIO 3 is used for others.

This fixes the missing mute GPIO for some HP laptops with new codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found