All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Ranostay <mranostay@embeddedalley.com>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>, "Tellman, Steven" <Steven.Tellman@idt.com>
Subject: [PATCH] hda: STAC9205 GPIO line fix
Date: Thu, 24 Jan 2008 09:15:49 -0500	[thread overview]
Message-ID: <47989D95.2040705@embeddedalley.com> (raw)

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 */

             reply	other threads:[~2008-01-24 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 14:15 Matthew Ranostay [this message]
2008-01-24 14:33 ` [PATCH] hda: STAC9205 GPIO line fix Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47989D95.2040705@embeddedalley.com \
    --to=mranostay@embeddedalley.com \
    --cc=Steven.Tellman@idt.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.