]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'topic/fix/hda' into topic/hda
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2008 07:27:04 +0000 (08:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2008 07:27:04 +0000 (08:27 +0100)
Conflicts:
sound/pci/hda/patch_sigmatel.c

1  2 
Documentation/sound/alsa/ALSA-Configuration.txt
sound/pci/hda/patch_sigmatel.c

index c346c77e306806d3d7cd3fc074694ea29d2838ad,9047dc76b007df797545c393db03c019ed846dc5..a501c9121649d01e0ff15381f3155ec53fc03163
@@@ -4753,14 -4582,21 +4764,21 @@@ again
  
        switch (spec->board_config) {
        case STAC_HP_M4:
-               spec->num_dmics = 0;
-               spec->num_smuxes = 0;
-               spec->num_dmuxes = 0;
                /* enable internal microphone */
 -              stac92xx_set_config_reg(codec, 0x0e, 0x01813040);
 +              stac_change_pin_config(codec, 0x0e, 0x01813040);
                stac92xx_auto_set_pinctl(codec, 0x0e,
                        AC_PINCTL_IN_EN | AC_PINCTL_VREF_80);
+               /* fallthru */
+       case STAC_DELL_M4_2:
+               spec->num_dmics = 0;
+               spec->num_smuxes = 0;
+               spec->num_dmuxes = 0;
+               break;
+       case STAC_DELL_M4_1:
+       case STAC_DELL_M4_3:
+               spec->num_dmics = 1;
+               spec->num_smuxes = 0;
+               spec->num_dmuxes = 0;
                break;
        default:
                spec->num_dmics = STAC92HD71BXX_NUM_DMICS;