All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hda: STAC9205 GPIO line fix
@ 2008-01-24 14:15 Matthew Ranostay
  2008-01-24 14:33 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Ranostay @ 2008-01-24 14:15 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Tellman, Steven

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

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
---
diff -r 32b13f326915 pci/hda/patch_sigmatel.c
--- a/pci/hda/patch_sigmatel.c	Thu Jan 24 11:49:21 2008 +0100
+++ b/pci/hda/patch_sigmatel.c	Thu Jan 24 09:08:23 2008 -0500
@@ -3661,11 +3661,11 @@ static int patch_stac9205(struct hda_cod
 		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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-24 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 14:15 [PATCH] hda: STAC9205 GPIO line fix Matthew Ranostay
2008-01-24 14:33 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.