From: Takashi Iwai Date: Mon, 8 Feb 2010 14:06:13 +0000 (+0100) Subject: ALSA: hda - Detect HP mute-LED GPIO setup from GPIO counts X-Git-Tag: v2.6.34-rc1~243^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f804495cb08c8fdf16eee8f7d90edce4a3c9c5;p=pandora-kernel.git ALSA: hda - Detect HP mute-LED GPIO setup from GPIO counts 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 --- Reading git-diff-tree failed