Revision f1a73746c6664442082e3d53e1804f46e1910436 authored by Takashi Iwai on 04 December 2011, 12:44:06 UTC, committed by Takashi Iwai on 06 December 2011, 12:18:46 UTC
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>
1 parent 77088cc
History
File Mode Size
.gitignore -rw-r--r-- 22 bytes
Kconfig -rw-r--r-- 657 bytes
Makefile -rw-r--r-- 557 bytes
gen-devlist.c -rw-r--r-- 2.1 KB
names.c -rw-r--r-- 2.5 KB
proc.c -rw-r--r-- 3.8 KB
zorro-driver.c -rw-r--r-- 4.4 KB
zorro-sysfs.c -rw-r--r-- 3.1 KB
zorro.c -rw-r--r-- 5.1 KB
zorro.h -rw-r--r-- 116 bytes
zorro.ids -rw-r--r-- 15.1 KB

back to top