[PATCH v3 0/3] ASoC: sunxi: sun4i-spdif: Cleanup and runtime PM improvements

From: phucduc . bui

Date: Tue Jun 02 2026 - 07:49:59 EST


From: bui duc phuc <phucduc.bui@xxxxxxxxx>

Hi,

This series contains a few improvements for the sun4i-spdif driver,
including guard() conversions and ensuring the device is resumed
via runtime PM before kcontrol register accesses.


Link v1:
https://lore.kernel.org/all/20260513105003.81880-1-phucduc.bui@xxxxxxxxx/

Link v2:
https://lore.kernel.org/all/20260522095401.72915-1-phucduc.bui@xxxxxxxxx/

Change in v2:
- Switched from using guard() to scoped_guard()
- Added runtime PM handling for kcontrol register accesses.
Change in v3:
- Clarify in the commit message that the resume sequence becomes the
reverse of the suspend sequence.
- Add Reported-by tag from Sashiko AI review.


Best Regards,
Phuc


bui duc phuc (3):
ASoC: sunxi: sun4i-spdif: Use guard() for spin locks
ASoC: sunxi: sun4i-spdif: Resume device before kcontrol register
access
ASoC: sunxi: sun4i-spdif: Reorder clock enable sequence

sound/soc/sunxi/sun4i-spdif.c | 76 +++++++++++++++++++----------------
1 file changed, 42 insertions(+), 34 deletions(-)

--
2.43.0