LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] ASoC: fsl_asrc: Fix probe and resource management issues
@ 2026-11-13  5:07 phucduc.bui
  2026-11-13  5:07 ` [PATCH v2 1/6] ASoC: fsl_asrc: Improve probe error handling phucduc.bui
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: phucduc.bui @ 2026-11-13  5:07 UTC (permalink / raw)
  To: Shengjiu Wang, Shengjiu Wang, Xiubo Li, Fabio Estevam,
	Nicolin Chen, Mark Brown
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linuxppc-dev,
	linux-sound, linux-kernel, bui duc phuc

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

Hi all,

This series improves error handling and resource management in
the fsl_asrc probe function. It fixes deferred clock handling and
runtime PM usage count, ensures the IRQ is requested after device
initialization, and moves runtime PM cleanup to devm.

Link v1: 
https://lore.kernel.org/all/20261112105116.32274-1-phucduc.bui@gmail.com/

Change in v2:
 - Update the commit based on Sashiko's review.
 - Add handling for CONFIG_PM being disabled.
 - Add a patch to use devm for M2M cleanup.

Compile-tested only.

Best regards,
Phuc

bui duc phuc (6):
  ASoC: fsl_asrc: Improve probe error handling
  ASoC: fsl_asrc: Fix handling of deferred spba clock
  ASoC: fsl_asrc: Fix runtime PM usage count on init failure
  ASoC: fsl_asrc: Request the IRQ after the device is initialized
  ASoC: fsl_asrc: Use devm for runtime PM cleanup
  ASoC: fsl_asrc: Use devm for m2m cleanup

 sound/soc/fsl/fsl_asrc.c | 113 +++++++++++++++++++++------------------
 1 file changed, 62 insertions(+), 51 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-11-13  5:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13  5:07 [PATCH v2 0/6] ASoC: fsl_asrc: Fix probe and resource management issues phucduc.bui
2026-11-13  5:07 ` [PATCH v2 1/6] ASoC: fsl_asrc: Improve probe error handling phucduc.bui
2026-11-13  5:07 ` [PATCH v2 2/6] ASoC: fsl_asrc: Fix handling of deferred spba clock phucduc.bui
2026-11-13  5:07 ` [PATCH v2 3/6] ASoC: fsl_asrc: Fix runtime PM usage count on init failure phucduc.bui
2026-11-13  5:07 ` [PATCH v2 4/6] ASoC: fsl_asrc: Request the IRQ after the device is initialized phucduc.bui
2026-11-13  5:07 ` [PATCH v2 5/6] ASoC: fsl_asrc: Use devm for runtime PM cleanup phucduc.bui
2026-11-13  5:07 ` [PATCH v2 6/6] ASoC: fsl_asrc: Use devm for m2m cleanup phucduc.bui

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