diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-11 10:18:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-30 11:09:09 +0100 |
commit | 2eda344546caaf9168e778a4007f4609e95106e0 (patch) | |
tree | bc3c31e19ff78b59383e6c6127cf361a0d44eeb2 /sound/pci/trident | |
parent | ff7a3267368634e368ebaac68d5e3abf129edd1d (diff) | |
download | kernel-crypto-2eda344546caaf9168e778a4007f4609e95106e0.tar.gz kernel-crypto-2eda344546caaf9168e778a4007f4609e95106e0.tar.xz kernel-crypto-2eda344546caaf9168e778a4007f4609e95106e0.zip |
ALSA: hda - Add a new function to seek for a codec ID
Gateway notebooks have their ID inside codec vendor ID, not at PCI ID. Due to
that, model auto-detection were not possible with the standard seek method.
This is what is found at lspci -vnn:
00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio [1002:437b] (rev 01)
Subsystem: ATI Technologies Inc SB450 HDA Audio [1002:437b]
Yet, autodetection is possible, since the codec properly reflects the vendor at
the Subsystem ID:
$ cat /proc/asound/card0/codec#0 |head -4
Codec: SigmaTel STAC9250
Address: 0
Vendor Id: 0x83847634
Subsystem Id: 0x107b0367
This patch adds a new autodetection function that seeks for codec subsystem ID.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/trident')
0 files changed, 0 insertions, 0 deletions