Skip to content

ASoC: fsl_asrc: Fix probe and resource management issues

[email protected] linux-sound linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v15 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: fsl_asrc: Improve probe error handlingsound/soc/fsl/fsl_asrc.c+11 -180 replies
2/6ASoC: fsl_asrc: Fix handling of deferred spba clocksound/soc/fsl/fsl_asrc.c+4 -10 replies
3/6ASoC: fsl_asrc: Fix runtime PM usage count on init failuresound/soc/fsl/fsl_asrc.c+1 -00 replies
4/6ASoC: fsl_asrc: Request the IRQ after the device is initializedsound/soc/fsl/fsl_asrc.c+8 -50 replies
5/6ASoC: fsl_asrc: Use devm for runtime PM cleanupsound/soc/fsl/fsl_asrc.c+34 -200 replies
6/6ASoC: fsl_asrc: Use devm for m2m cleanupsound/soc/fsl/fsl_asrc.c+6 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] ASoC: fsl_asrc: Fix probe and resource management issues

From: bui duc phuc <[email protected]>

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/[email protected]/

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(-)
Signature · 1 line
2.43.0