Skip to contentSkip to conversation

ALSA: VIA HDA: Correct stream names for VT1818S

PATCH In review Lydia Wang 1 participant 1 message Mar 22, 2011 Sound

lore
Share & tools
lore

Lydia Wang

author
#0 lore raw

PATCH 6/8 ALSA: VIA HDA: Correct stream names for VT1818S

From: Lydia Wang <[email protected]>
Subject: ALSA: VIA HDA: Correct stream names for VT1818S.

Correct stream names of analog playback and capture streams for VT1818S.

---
 sound/pci/hda/patch_via.c |    5 +++++
 1 file changed, 5 insertions(+)
sound/pci/hda/patch_via.c +5 -0
@@ -3777,6 +3777,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";
+	}
 	spec->set_widgets_power_state =  set_widgets_power_state_vt1708B;
 	return 0;
 }