From: bui duc phuc <redacted>
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/ (local)
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