aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-04 12:21:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-29 14:11:46 -0500
commit0009160a1b27a03d11ba007c542474aaba0b5380 (patch)
tree402470ca15e9a29e324a2f7b488befb14754b260 /sound/pci
parent51f7512087067c0ba31bd5ad4bad5258fbd9b44c (diff)
ALSA: hda - Enable SPDIF for Acer TravelMate 6293
commit 24eff328f65c8ef352c90b6adb7c2f39eb94205d upstream. 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: Hagen Heiduck <heiduck.suse@fmail.postpro.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0f4bfe9f60d5..ca945d63af50 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2380,6 +2380,7 @@ static const struct hda_verb alc268_beep_init_verbs[] = {
2380enum { 2380enum {
2381 ALC268_FIXUP_INV_DMIC, 2381 ALC268_FIXUP_INV_DMIC,
2382 ALC268_FIXUP_HP_EAPD, 2382 ALC268_FIXUP_HP_EAPD,
2383 ALC268_FIXUP_SPDIF,
2383}; 2384};
2384 2385
2385static const struct hda_fixup alc268_fixups[] = { 2386static const struct hda_fixup alc268_fixups[] = {
@@ -2394,6 +2395,13 @@ static const struct hda_fixup alc268_fixups[] = {
2394 {} 2395 {}
2395 } 2396 }
2396 }, 2397 },
2398 [ALC268_FIXUP_SPDIF] = {
2399 .type = HDA_FIXUP_PINS,
2400 .v.pins = (const struct hda_pintbl[]) {
2401 { 0x1e, 0x014b1180 }, /* enable SPDIF out */
2402 {}
2403 }
2404 },
2397}; 2405};
2398 2406
2399static const struct hda_model_fixup alc268_fixup_models[] = { 2407static const struct hda_model_fixup alc268_fixup_models[] = {
@@ -2403,6 +2411,7 @@ static const struct hda_model_fixup alc268_fixup_models[] = {
2403}; 2411};
2404 2412
2405static const struct snd_pci_quirk alc268_fixup_tbl[] = { 2413static const struct snd_pci_quirk alc268_fixup_tbl[] = {
2414 SND_PCI_QUIRK(0x1025, 0x0139, "Acer TravelMate 6293", ALC268_FIXUP_SPDIF),
2406 SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC), 2415 SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC),
2407 /* below is codec SSID since multiple Toshiba laptops have the 2416 /* below is codec SSID since multiple Toshiba laptops have the
2408 * same PCI SSID 1179:ff00 2417 * same PCI SSID 1179:ff00