[ALSA] hda: STAC9205 GPIO line fix

Fixed issue that the incorrect GPIO line was being pulled high
for some STAC9205 based laptops.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Matthew Ranostay
2008-01-24 15:32:15 +01:00
committed by Jaroslav Kysela
parent 6330079fc6
commit e2e7d624ad

View File

@@ -3661,11 +3661,11 @@ static int patch_stac9205(struct hda_codec *codec)
stac92xx_set_config_reg(codec, 0x1f, 0x01441030); stac92xx_set_config_reg(codec, 0x1f, 0x01441030);
stac92xx_set_config_reg(codec, 0x20, 0x1c410030); stac92xx_set_config_reg(codec, 0x20, 0x1c410030);
spec->gpio_mask = 0x00000007; /* GPIO0-2 */ spec->gpio_mask = 0x0000000b;
/* GPIO0 High = EAPD, GPIO1 Low = DRM, /* GPIO0 High = EAPD, GPIO1 Low = Headphone Mute,
* GPIO2 High = Headphone Mute * GPIO3 High = DRM
*/ */
spec->gpio_data = 0x00000005; spec->gpio_data = 0x00000009;
break; break;
default: default:
/* GPIO0 High = EAPD */ /* GPIO0 High = EAPD */