From: Takashi Iwai <tiwai@suse.de>
To: Matthew Ranostay <mranostay@embeddedalley.com>
Cc: alsa-devel@alsa-project.org,
Matt Porter <mporter@embeddedalley.com>,
"Tellman, Steven" <Steven.Tellman@idt.com>
Subject: Re: [PATCH] hda: Add GPIO mute support to STAC9205
Date: Mon, 28 Jan 2008 15:57:04 +0100 [thread overview]
Message-ID: <s5hprvm577j.wl%tiwai@suse.de> (raw)
In-Reply-To: <479DEB20.70302@embeddedalley.com>
At Mon, 28 Jan 2008 09:48:00 -0500,
Matthew Ranostay wrote:
>
> Support added for detecting HP jack presence via GPIO on several laptop docks.
>
> Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
> ---
> diff -r b0d97ac73e0f pci/hda/patch_sigmatel.c
> --- a/pci/hda/patch_sigmatel.c Fri Jan 25 15:24:50 2008 +0100
> +++ b/pci/hda/patch_sigmatel.c Mon Jan 28 09:34:16 2008 -0500
> @@ -122,7 +122,9 @@ struct sigmatel_spec {
> unsigned int alt_switch: 1;
> unsigned int hp_detect: 1;
>
> - unsigned int gpio_mask, gpio_data;
> + unsigned int gpio_en_mask, gpio_dir_mask;
> + unsigned int gpio_data;
> + unsigned int gpio_mute;
The mask is valid for both dir and data bits. So I'd like to have the
following four fields:
unsigned int gpio_mask;
unsigned int gpio_dir;
unsigned int gpio_data;
unsigned int gpio_mute;
(Actually they could be unsigned char on HD-audio.)
Otherwise the patch looks good.
thanks,
Takashi
next prev parent reply other threads:[~2008-01-28 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 14:48 [PATCH] hda: Add GPIO mute support to STAC9205 Matthew Ranostay
2008-01-28 14:57 ` Takashi Iwai [this message]
2008-01-29 14:20 ` Matthew Ranostay
2008-01-29 14:27 ` 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=s5hprvm577j.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=Steven.Tellman@idt.com \
--cc=alsa-devel@alsa-project.org \
--cc=mporter@embeddedalley.com \
--cc=mranostay@embeddedalley.com \
/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.