Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24eff328 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Enable SPDIF for Acer TravelMate 6293



BIOS on Acer TravelMate 6293 doesn't set up the SPDIF output pin
correctly as default, so enable it via a fixup entry.

Reported-and-tested-by: default avatarHagen Heiduck <heiduck.suse@fmail.postpro.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4eeca499
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2386,6 +2386,7 @@ static const struct hda_verb alc268_beep_init_verbs[] = {
enum {
	ALC268_FIXUP_INV_DMIC,
	ALC268_FIXUP_HP_EAPD,
	ALC268_FIXUP_SPDIF,
};

static const struct hda_fixup alc268_fixups[] = {
@@ -2400,6 +2401,13 @@ static const struct hda_fixup alc268_fixups[] = {
			{}
		}
	},
	[ALC268_FIXUP_SPDIF] = {
		.type = HDA_FIXUP_PINS,
		.v.pins = (const struct hda_pintbl[]) {
			{ 0x1e, 0x014b1180 }, /* enable SPDIF out */
			{}
		}
	},
};

static const struct hda_model_fixup alc268_fixup_models[] = {
@@ -2409,6 +2417,7 @@ static const struct hda_model_fixup alc268_fixup_models[] = {
};

static const struct snd_pci_quirk alc268_fixup_tbl[] = {
	SND_PCI_QUIRK(0x1025, 0x0139, "Acer TravelMate 6293", ALC268_FIXUP_SPDIF),
	SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC),
	/* below is codec SSID since multiple Toshiba laptops have the
	 * same PCI SSID 1179:ff00