From: Takashi Iwai <tiwai@suse.de>
To: "Cássio Gabriel" <cassiogabrielcontato@gmail.com>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/proc: show GPI and GPO state in codec proc output
Date: Sat, 28 Mar 2026 14:42:37 +0100 [thread overview]
Message-ID: <87tsu0ul2q.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260328-hda-proc-gpi-gpo-v1-1-fabb36564bee@gmail.com>
On Sat, 28 Mar 2026 05:53:35 +0100,
Cássio Gabriel wrote:
>
> print_gpio() prints the GPIO capability header and the bidirectional
> GPIO state, but it never reports the separate GPI and GPO pins even
> though AC_PAR_GPIO_CAP exposes their counts.
>
> The HD-audio specification defines dedicated GPI and GPO verbs
> alongside the GPIO ones, so codecs with input-only or output-only
> general-purpose pins currently lose that state from
> /proc/asound/card*/codec#* altogether.
>
> Add the missing read verb definitions and extend print_gpio() to dump
> the GPI and GPO pins, too, while leaving the existing IO[] output
> unchanged.
>
> Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Applied to for-next branch now.
I noticed that the verbs for setting GPI and GPO are missing.
Will submit a patch to complete those.
thanks,
Takashi
next prev parent reply other threads:[~2026-03-28 13:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-28 4:53 [PATCH] ALSA: hda/proc: show GPI and GPO state in codec proc output Cássio Gabriel
2026-03-28 13:42 ` Takashi Iwai [this message]
2026-03-28 18:51 ` Cássio Gabriel Monteiro Pires
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=87tsu0ul2q.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=cassiogabrielcontato@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox