Forráskód Böngészése

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>
Lydia Wang 14 éve
szülő
commit
970f630f5a
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      sound/pci/hda/patch_via.c

+ 5 - 0
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;
 }