Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: hdmi-codec: ELD fixes for unplug and hotplug races
@ 2026-11-30  3:47 Lin Tzu Yang
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Lin Tzu Yang @ 2026-11-30  3:47 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Jaroslav Kysela, Takashi Iwai, Dmitry Baryshkov, linux-sound,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-30  3:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  3:47 [PATCH v2 0/2] ASoC: hdmi-codec: ELD fixes for unplug and hotplug races Lin Tzu Yang
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox