projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0341ccd
)
ALSA: hda - VIA: Correct stream names for VT1818S
author
Lydia Wang
<lydiawang@viatech.com.cn>
Tue, 22 Mar 2011 08:25:56 +0000
(16:25 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 22 Mar 2011 11:56:01 +0000
(12:56 +0100)
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>
sound/pci/hda/patch_via.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_via.c
b/sound/pci/hda/patch_via.c
index 269bb365752b453e244d4e3dd80e6635a02d0e82..7e317f933a06002813c685e77ca14c46f9630d93 100644
(file)
--- 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;
}