From: Takashi Iwai Date: Tue, 22 Nov 2011 19:00:31 +0000 (+0100) Subject: ALSA: hda - Fix invalid pin and GPIO for Apple laptops with CS codecs X-Git-Tag: v3.2-rc4~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dfeb703e386369d9f1585d29482efe7b2b4401d;p=pandora-kernel.git ALSA: hda - Fix invalid pin and GPIO for Apple laptops with CS codecs The PCI SSID 8086:7270 is commonly used for multiple Apple machines, thus we can't use it as identifier for a unique model. Because of this conflict, some machines show weird behavior. For example, MacBook Air shows Front and Surround speakers although only Surround works due to the wrongly overridden pin-configuration for imac27. This patch fixes two things: - Stop the wrong pin-config override of imac27 by removing PCI SSID entry for avoiding the wrong mappings, - Add the generic GPIO setup for Apple machines by checking the codec SSID vendor bits Tested-by: Linus Torvalds Tested-by: Dirk Hohndel Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed