mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: mediatek: Return 0 from FE startup on success
@ 2026-10-06 10:16 phucduc.bui
  2026-10-06 10:16 ` [PATCH 1/4] ASoC: mediatek: common: return 0 from mtk_afe_fe_startup() " phucduc.bui
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: phucduc.bui @ 2026-10-06 10:16 UTC (permalink / raw)
  To: Mark Brown, AngeloGioacchino Del Regno, Trevor Wu
  Cc: Liam Girdwood, Matthias Brugger, Jaroslav Kysela, Takashi Iwai,
	Kuninori Morimoto, cassiogabrielcontato, Haotian Zhang,
	Christian Marangi, Cezary Rojewski, Cyril Chao, Tuo Li,
	Rosen Penev, Garlic Tseng, Alexandre Mergnat, Dan Carpenter,
	linux-sound, linux-arm-kernel, linux-mediatek, linux-kernel,
	bui duc phuc

From: bui duc phuc <phucduc.bui@gmail.com>

Hi all,

Some FE startup callbacks may return a positive value from constraint 
helpers, but ASoC expects 0 on success. This can cause .shutdown() to be 
skipped during rollback.

Return 0 explicitly on success.

Compile-tested only.

Best regards,
Phuc

bui duc phuc (4):
  ASoC: mediatek: common: return 0 from mtk_afe_fe_startup() on success
  ASoC: mediatek: mt8188: return 0 from mt8188_afe_fe_startup() on
    success
  ASoC: mediatek: mt8189:return 0 from mt8189_fe_startup() on success
  ASoC: mediatek: mt8365: return 0 from mt8365_afe_fe_startup() on
    success

 sound/soc/mediatek/common/mtk-afe-fe-dai.c | 8 +++++---
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c | 5 ++++-
 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c | 8 +++++---
 sound/soc/mediatek/mt8365/mt8365-afe-pcm.c | 7 +++++--
 4 files changed, 19 insertions(+), 9 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-10-06 11:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 10:16 [PATCH 0/4] ASoC: mediatek: Return 0 from FE startup on success phucduc.bui
2026-10-06 10:16 ` [PATCH 1/4] ASoC: mediatek: common: return 0 from mtk_afe_fe_startup() " phucduc.bui
2026-10-06 10:16 ` [PATCH 2/4] ASoC: mediatek: mt8188: return 0 from mt8188_afe_fe_startup() " phucduc.bui
2026-10-06 10:39   ` Cezary Rojewski
2026-10-06 11:09     ` Bui Duc Phuc
2026-10-06 10:16 ` [PATCH 3/4] ASoC: mediatek: mt8189:return 0 from mt8189_fe_startup() " phucduc.bui
2026-10-06 10:44   ` Cezary Rojewski
2026-10-06 11:18     ` Bui Duc Phuc
2026-10-06 10:16 ` [PATCH 4/4] ASoC: mediatek: mt8365: return 0 from mt8365_afe_fe_startup() " phucduc.bui

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®