22 Mar
2011
22 Mar
'11
10:25 a.m.
From: Lydia Wang lydiawang@viatech.com.cn Subject: ALSA: VIA HDA: Correct stream names for VT1818S.
Correct stream names of analog playback and capture streams for VT1818S.
Signed-off-by: Lydia Wang lydiawang@viatech.com.cn --- sound/pci/hda/patch_via.c | 5 +++++ 1 file changed, 5 insertions(+)
--- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -4173,6 +4173,11 @@ spec->stream_name_analog = "VT1708BCE Analog"; spec->stream_name_digital = "VT1708BCE Digital"; } + /* correct names for VT1818S */ + if (codec->vendor_id == 0x11060440) { + spec->stream_name_analog = "VT1818S Analog"; + spec->stream_name_digital = "VT1818S Digital"; + } return 0; }