aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-04 12:21:08 -0500
committerTakashi Iwai <tiwai@suse.de>2013-11-04 15:11:04 -0500
commit24eff328f65c8ef352c90b6adb7c2f39eb94205d (patch)
treec66052929e70d29212951947d72e6237db6d9f9d /sound/pci
parent4eeca499be4ff4216b745e35ae8c8bffa6445eac (diff)
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: Hagen Heiduck <heiduck.suse@fmail.postpro.net> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 2d7c86d81196..01bf812455a2 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2386,6 +2386,7 @@ static const struct hda_verb alc268_beep_init_verbs[] = {
2386enum { 2386enum {
2387 ALC268_FIXUP_INV_DMIC, 2387 ALC268_FIXUP_INV_DMIC,
2388 ALC268_FIXUP_HP_EAPD, 2388 ALC268_FIXUP_HP_EAPD,
2389 ALC268_FIXUP_SPDIF,
2389}; 2390};
2390 2391
2391static const struct hda_fixup alc268_fixups[] = { 2392static const struct hda_fixup alc268_fixups[] = {
@@ -2400,6 +2401,13 @@ static const struct hda_fixup alc268_fixups[] = {
2400 {} 2401 {}
2401 } 2402 }
2402 }, 2403 },
2404 [ALC268_FIXUP_SPDIF] = {
2405 .type = HDA_FIXUP_PINS,
2406 .v.pins = (const struct hda_pintbl[]) {
2407 { 0x1e, 0x014b1180 }, /* enable SPDIF out */
2408 {}
2409 }
2410 },
2403}; 2411};
2404 2412
2405static const struct hda_model_fixup alc268_fixup_models[] = { 2413static const struct hda_model_fixup alc268_fixup_models[] = {
@@ -2409,6 +2417,7 @@ static const struct hda_model_fixup alc268_fixup_models[] = {
2409}; 2417};
2410 2418
2411static const struct snd_pci_quirk alc268_fixup_tbl[] = { 2419static const struct snd_pci_quirk alc268_fixup_tbl[] = {
2420 SND_PCI_QUIRK(0x1025, 0x0139, "Acer TravelMate 6293", ALC268_FIXUP_SPDIF),
2412 SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC), 2421 SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC),
2413 /* below is codec SSID since multiple Toshiba laptops have the 2422 /* below is codec SSID since multiple Toshiba laptops have the
2414 * same PCI SSID 1179:ff00 2423 * same PCI SSID 1179:ff00