diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-12-04 13:44:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-06 13:18:46 +0100 |
commit | f1a73746c6664442082e3d53e1804f46e1910436 (patch) | |
tree | 08d21f39323f9b47ef2652a5d7fa2e4934a574f4 /sound/pci/hda/patch_via.c | |
parent | 77088cc97315e9bc713e335fb082ad26d065a4cf (diff) | |
download | talos-obmc-linux-f1a73746c6664442082e3d53e1804f46e1910436.tar.gz talos-obmc-linux-f1a73746c6664442082e3d53e1804f46e1910436.zip |
ALSA: hda - Fix GPIO LED setup for IDT 92HD75 codecs
Some HP laptops with IDT 92HD75 codecs may use a GPIO > 4 for the mute
LED, but currently the driver doesn't check this properly, and confuses
the mute LED behavior. This ended up with the silent output on some
HP laptops due to having another GPIO used as external amp control.
This patch fixes the problem by checking the max GPIO count and
comparing with the given value from DMI entry instead of magic fixed
value 4 and 8, and adding a new field to indicate the VREF mute-LED
behavior.
Reported-and-tested-by: Vitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Cc: <stable@kernel.org> [v3.1]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
0 files changed, 0 insertions, 0 deletions