[ALSA] hda-codec - Fix Macmini and Macbook pin configs
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Mar 2007 10:42:18 +0000 (11:42 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:50 +0000 (16:55 +0200)
Original idea from Nicolas Boichat <nicolas@boichat.ch>.
The pin configurations of Macmini and MacBook (1st generation, at least)
seem identical with MacBook Pro (1st generation).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_sigmatel.c

index 7a8241328650571977904c4a2c37363d6b7a638b..6dd4822dbec0e8b3f38cb4cb85da76429e2042ae 100644 (file)
@@ -524,12 +524,6 @@ static unsigned int d945gtp5_pin_configs[10] = {
        0x02a19320, 0x40000100,
 };
 
-static unsigned int macbook_pin_configs[10] = {
-       0x0321e230, 0x03a1e020, 0x400000fd, 0x9017e110,
-       0x400000fe, 0x0381e021, 0x1345e240, 0x13c5e22e,
-       0x400000fc, 0x400000fb,
-};
-
 static unsigned int macbook_pro_v1_pin_configs[10] = {
        0x0321e230, 0x03a1e020, 0x9017e110, 0x01014010,
        0x01a19021, 0x0381e021, 0x1345e240, 0x13c5e22e,
@@ -546,8 +540,8 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
        [STAC_D945_REF] = ref922x_pin_configs,
        [STAC_D945GTP3] = d945gtp3_pin_configs,
        [STAC_D945GTP5] = d945gtp5_pin_configs,
-       [STAC_MACMINI] = d945gtp5_pin_configs,
-       [STAC_MACBOOK] = macbook_pin_configs,
+       [STAC_MACMINI] = macbook_pro_v1_pin_configs,
+       [STAC_MACBOOK] = macbook_pro_v1_pin_configs,
        [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
        [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
 };