Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: Fixes for the MT8188 sound card
@ 2026-10-03 19:44 Michał Kopeć
  2026-10-03 19:44 ` [PATCH 1/4] ASoC: mediatek: common: Keep codec references until the card is bound Michał Kopeć
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Michał Kopeć @ 2026-10-03 19:44 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Jaroslav Kysela, Takashi Iwai, Matthias Brugger,
	AngeloGioacchino Del Regno, Alexandre Mergnat, Kuninori Morimoto,
	Peter Ujfalusi, Trevor Wu, linux-sound, linux-mediatek,
	linux-arm-kernel, linux-kernel, Michał Kopeć

These patches fix problems found while bringing up audio with SOF on
the Lenovo Chromebook Duet Gen 9 (Ciri, MT8188) on a mainline kernel.

The first two fix the common MediaTek sound card probe when the card
cannot be bound on the first attempt. A missing component made the
card fail its rebind because the codec references were already
released, and a deferred or failed probe left the static card with a
topology name that devm had freed, so the card registered with a
garbage name and UCM found no profile for it.

The third limits the UL8 front end on MT8188 to what its only back end,
ETDM1_IN, supports, so that userspace can no longer pick a
configuration that fails in hw_params.

The fourth is not MediaTek specific: hdmi-codec parsed the all-zero
ELD that bridges return without a sink, which logged "Unknown ELD
version 0" on every open of a disconnected HDMI/DP PCM.

Tested on Ciri.

Michał Kopeć (4):
  ASoC: mediatek: common: Keep codec references until the card is bound
  ASoC: mediatek: Don't keep a freed topology name in the static card
  ASoC: mediatek: mt8188: Constrain UL8 FE to its back end's
    capabilities
  ASoC: hdmi-codec: Don't parse an empty ELD on startup

 sound/soc/codecs/hdmi-codec.c                 |  8 ++-
 .../mediatek/common/mtk-soundcard-driver.c    | 67 ++++++++++++++++++-
 sound/soc/mediatek/mt8188/mt8188-mt6359.c     |  3 +
 3 files changed, 73 insertions(+), 5 deletions(-)


base-commit: 0d6ef8b530db8dbad6b06309cf2683f1032f8013
-- 
2.55.0



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

end of thread, other threads:[~2026-10-08  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-03 19:44 [PATCH 0/4] ASoC: Fixes for the MT8188 sound card Michał Kopeć
2026-10-03 19:44 ` [PATCH 1/4] ASoC: mediatek: common: Keep codec references until the card is bound Michał Kopeć
2026-10-03 19:44 ` [PATCH 2/4] ASoC: mediatek: Don't keep a freed topology name in the static card Michał Kopeć
2026-10-08  8:20   ` Mark Brown
2026-10-03 19:45 ` [PATCH 3/4] ASoC: mediatek: mt8188: Constrain UL8 FE to its back end's capabilities Michał Kopeć
2026-10-03 19:45 ` [PATCH 4/4] ASoC: hdmi-codec: Don't parse an empty ELD on startup Michał Kopeć

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