ALSA: hda - Apply MacBook fixups for CS4208 correctly
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Nov 2013 11:50:31 +0000 (12:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Nov 2013 12:50:56 +0000 (13:50 +0100)
commit885845d78551be7bf8570f6283df8b7a7797c4d1
tree0065525685ddb145e92816a4b6ef990c299a3e56
parent380702192f616df5b2ba704b85cc479a3da92c91
ALSA: hda - Apply MacBook fixups for CS4208 correctly

The commit [8fe7b65ab465: ALSA: hda - Apply GPIO setup for MacBooks
with CS4208] added a fixup entry matching with the vendor id 0x106b.
This broke the fixups for previous MBA6,1 and 6,2, since the PCI SSID
vendor id matches before evaluating the codec SSIDs.

We had a similar issue on Mac with Sigmatel codecs, and solve this
problem again similarly, by introducing a skeleton entry matching with
the all MacBooks, then remap to the right one.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64401
Fixes: 8fe7b65ab465 ('ALSA: hda - Apply GPIO setup for MacBooks with CS4208')
Cc: <stable@vger.kernel.org> [v3.12+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c