ALSA: hda - Set default GPIO for IDT92HD71bxx
authorTakashi Iwai <tiwai@suse.de>
Mon, 14 Sep 2009 13:33:01 +0000 (15:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Sep 2009 13:33:01 +0000 (15:33 +0200)
A smiliar fix for IDT 92HD71Bxx codecs like the previous commit for
other IDT/STAC codecs.

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

index 2c8a8039c759ea12f5d1c74be58112fe2b890750..23a698715e7f5ef04ef1d2cecb7ba576e1ecaa7e 100644 (file)
@@ -5242,7 +5242,7 @@ again:
                stac92xx_set_config_regs(codec,
                                stac92hd71bxx_brd_tbl[spec->board_config]);
 
-       if (spec->board_config > STAC_92HD71BXX_REF) {
+       if (spec->board_config != STAC_92HD71BXX_REF) {
                /* GPIO0 = EAPD */
                spec->gpio_mask = 0x01;
                spec->gpio_dir = 0x01;