mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lin Tzu Yang <rongh7426@gmail.com>
To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Dmitry Baryshkov <lumag@kernel.org>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] ASoC: hdmi-codec: ELD fixes for unplug and hotplug races
Date: Mon, 30 Nov 2026 11:47:58 +0800	[thread overview]
Message-ID: <20261130034800.824934-1-rongh7426@gmail.com> (raw)

Two fixes for how hdmi-codec handles the ELD across hotplug.

Patch 1 is v2 of "ASoC: hdmi-codec: Clear the parsed ELD on unplug".
Patch 2 was sent separately as "ASoC: hdmi-codec: Hold the lock while
the ELD is updated or read" and depends on patch 1, so they are now
sent together.

Changes in v2:
- Patch 1: clear the ELD before reporting the unplug, as Mark
  suggested, so userspace can't read the old ELD after the event.
- Patch 2: rebased on the new patch 1. The unplug path now clears the
  ELD under the lock and reports the jack after dropping it.
- Use my full name in Signed-off-by.

v1 of patch 1:
https://lore.kernel.org/all/20261126103757.655758-1-rongh7426@gmail.com/
v1 of patch 2:
https://lore.kernel.org/all/20261129083329.786322-1-rongh7426@gmail.com/

Lin Tzu Yang (2):
  ASoC: hdmi-codec: Clear the parsed ELD on unplug
  ASoC: hdmi-codec: Hold the lock while the ELD is updated or read

 sound/soc/codecs/hdmi-codec.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.51.1.windows.1


             reply	other threads:[~2026-11-30  3:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  3:47 Lin Tzu Yang [this message]
2026-11-30  3:47 ` [PATCH v2 1/2] ASoC: hdmi-codec: Clear the parsed ELD on unplug Lin Tzu Yang
2026-11-30  3:48 ` [PATCH v2 2/2] ASoC: hdmi-codec: Hold the lock while the ELD is updated or read Lin Tzu Yang

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=20261130034800.824934-1-rongh7426@gmail.com \
    --to=rongh7426@gmail.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=lumag@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

all inboxes | Powered by JetHome®