Skip to content

Commit

Permalink
[ALSA] hda: STAC9205 GPIO line fix
Browse files Browse the repository at this point in the history
Fixed issue that the incorrect GPIO line was being pulled high
for some STAC9205 based laptops.

Signed-off-by: Matthew Ranostay <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
Matthew Ranostay authored and perexg committed Jan 31, 2008
1 parent 6330079 commit e2e7d62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3661,11 +3661,11 @@ static int patch_stac9205(struct hda_codec *codec)
stac92xx_set_config_reg(codec, 0x1f, 0x01441030);
stac92xx_set_config_reg(codec, 0x20, 0x1c410030);

spec->gpio_mask = 0x00000007; /* GPIO0-2 */
/* GPIO0 High = EAPD, GPIO1 Low = DRM,
* GPIO2 High = Headphone Mute
spec->gpio_mask = 0x0000000b;
/* GPIO0 High = EAPD, GPIO1 Low = Headphone Mute,
* GPIO3 High = DRM
*/
spec->gpio_data = 0x00000005;
spec->gpio_data = 0x00000009;
break;
default:
/* GPIO0 High = EAPD */
Expand Down

0 comments on commit e2e7d62

Please sign in to comment.