diff options
author | Lydia Wang <lydiawang@viatech.com.cn> | 2011-03-22 11:25:56 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-22 14:56:01 +0300 |
commit | 970f630f5adcefb2841338929e209d970001d919 (patch) | |
tree | c53baca1944063fe7236d16ad3ec92318e52fe32 /sound | |
parent | 0341ccd7557fecafe6a79c55158670cf629d269e (diff) | |
download | linux-970f630f5adcefb2841338929e209d970001d919.tar.xz |
ALSA: hda - VIA: 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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_via.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 269bb365752b..7e317f933a06 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -4173,6 +4173,11 @@ static int patch_vt1708S(struct hda_codec *codec) 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; } |