]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda - Apply SPDIF pin ctl to MacBookPro 12,1
authorJohn Flatness <john@zerocrates.org>
Fri, 2 Oct 2015 21:07:49 +0000 (17:07 -0400)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 30 Oct 2015 13:59:28 +0000 (13:59 +0000)
commit e8ff581f7ac2bc3b8886094b7ca635dcc4d1b0e9 upstream.

The MacBookPro 12,1 has the same setup as the 11 for controlling the
status of the optical audio light. Simply apply the existing workaround
to the subsystem ID for the 12,1.

[sorted the fixup entry by tiwai]

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105401
Signed-off-by: John Flatness <john@zerocrates.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
sound/pci/hda/patch_cirrus.c

index e5a2dccceea1687ce5400dccc8f77332bc5ac211..9e264c811c3a5523c0a7437e04d149e56f7b4004 100644 (file)
@@ -636,6 +636,7 @@ static const struct snd_pci_quirk cs4208_mac_fixup_tbl[] = {
        SND_PCI_QUIRK(0x106b, 0x5e00, "MacBookPro 11,2", CS4208_MBP11),
        SND_PCI_QUIRK(0x106b, 0x7100, "MacBookAir 6,1", CS4208_MBA6),
        SND_PCI_QUIRK(0x106b, 0x7200, "MacBookAir 6,2", CS4208_MBA6),
+       SND_PCI_QUIRK(0x106b, 0x7b00, "MacBookPro 12,1", CS4208_MBP11),
        {} /* terminator */
 };