From: Takashi Iwai Date: Mon, 14 Sep 2009 13:33:01 +0000 (+0200) Subject: ALSA: hda - Set default GPIO for IDT92HD71bxx X-Git-Tag: Ubuntu-5.13.0-19.19~34804^2^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=fc64b26cfa3c7ee5ba23ab549ecd6415bed6b0eb;p=mirror_ubuntu-jammy-kernel.git ALSA: hda - Set default GPIO for IDT92HD71bxx A smiliar fix for IDT 92HD71Bxx codecs like the previous commit for other IDT/STAC codecs. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 2c8a8039c759..23a698715e7f 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -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;