diff options
author | Matthew Ranostay <mranostay@embeddedalley.com> | 2008-01-24 09:32:15 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:14 -0500 |
commit | e2e7d624ad3519809c5ff5ff53171e07aeeb7f68 (patch) | |
tree | 532a6bda185edd0ad8f16966f8a0fb8aea1c34b2 /sound | |
parent | 6330079fc6df4a0829f952b73c4d4999e56034f8 (diff) |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index b8152efbfc8c..3b8b860b3dae 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -3661,11 +3661,11 @@ static int patch_stac9205(struct hda_codec *codec) | |||
3661 | stac92xx_set_config_reg(codec, 0x1f, 0x01441030); | 3661 | stac92xx_set_config_reg(codec, 0x1f, 0x01441030); |
3662 | stac92xx_set_config_reg(codec, 0x20, 0x1c410030); | 3662 | stac92xx_set_config_reg(codec, 0x20, 0x1c410030); |
3663 | 3663 | ||
3664 | spec->gpio_mask = 0x00000007; /* GPIO0-2 */ | 3664 | spec->gpio_mask = 0x0000000b; |
3665 | /* GPIO0 High = EAPD, GPIO1 Low = DRM, | 3665 | /* GPIO0 High = EAPD, GPIO1 Low = Headphone Mute, |
3666 | * GPIO2 High = Headphone Mute | 3666 | * GPIO3 High = DRM |
3667 | */ | 3667 | */ |
3668 | spec->gpio_data = 0x00000005; | 3668 | spec->gpio_data = 0x00000009; |
3669 | break; | 3669 | break; |
3670 | default: | 3670 | default: |
3671 | /* GPIO0 High = EAPD */ | 3671 | /* GPIO0 High = EAPD */ |