All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jeremie Pardou <jrmi@jeremiez.net>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Enable jack detection on Minisforum AI X1 Pro
Date: Mon, 03 Aug 2026 09:07:04 +0200	[thread overview]
Message-ID: <871pcfbs2v.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260802194832.49393-1-jrmi@jeremiez.net>

On Sun, 02 Aug 2026 21:48:32 +0200,
Jeremie Pardou wrote:
> 
> The firmware of the Minisforum AI X1 Pro leaves the headphone jack detector
> reset bit asserted on its ALC245 codec. As a result, pin sense on NID 0x21
> always reports the jack as absent.
> 
> Clear only the Reset HP JD bit during codec initialization. Preserve the
> remaining coefficient bits. This makes pin sense and the generic HDA
> auto-mute logic work normally. Apply the fixup at INIT to also reapply the
> setting after codec reinitialization and resume.
> 
> Tested on a Minisforum AI X1 Pro with codec 0x10ec0245 and subsystem
> 0x1f4cb020 using Ubuntu 26.04 kernel 7.0.0-28-generic.
> 
> Signed-off-by: Jeremie Pardou <jrmi@jeremiez.net>

Applied to for-next branch now.  Thanks.


Takashi

      reply	other threads:[~2026-08-03  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-02 19:48 [PATCH] ALSA: hda/realtek: Enable jack detection on Minisforum AI X1 Pro Jeremie Pardou
2026-08-03  7:07 ` Takashi Iwai [this message]

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=871pcfbs2v.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=jrmi@jeremiez.net \
    --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 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.