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
power
regmap
Kconfig -rw-r--r-- 6.9 KB
Makefile -rw-r--r-- 732 bytes
attribute_container.c -rw-r--r-- 12.0 KB
base.h -rw-r--r-- 4.5 KB
bus.c -rw-r--r-- 25.1 KB
class.c -rw-r--r-- 15.2 KB
core.c -rw-r--r-- 46.0 KB
cpu.c -rw-r--r-- 6.7 KB
dd.c -rw-r--r-- 10.3 KB
devres.c -rw-r--r-- 16.0 KB
devtmpfs.c -rw-r--r-- 9.2 KB
dma-coherent.c -rw-r--r-- 4.5 KB
dma-mapping.c -rw-r--r-- 5.4 KB
driver.c -rw-r--r-- 6.8 KB
firmware.c -rw-r--r-- 614 bytes
firmware_class.c -rw-r--r-- 17.2 KB
hypervisor.c -rw-r--r-- 544 bytes
init.c -rw-r--r-- 734 bytes
isa.c -rw-r--r-- 3.7 KB
map.c -rw-r--r-- 3.3 KB
memory.c -rw-r--r-- 16.8 KB
module.c -rw-r--r-- 1.9 KB
node.c -rw-r--r-- 17.4 KB
platform.c -rw-r--r-- 30.4 KB
sys.c -rw-r--r-- 9.8 KB
syscore.c -rw-r--r-- 3.0 KB
topology.c -rw-r--r-- 5.3 KB
transport_class.c -rw-r--r-- 9.4 KB

back to top