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

Message ID 20260602114437.50324-1-phucduc.bui@gmail.com (mailing list archive)
Headers
Series ASoC: sunxi: sun4i-spdif: Cleanup and runtime PM improvements |

Message

Bui Duc Phuc June 2, 2026, 11:44 a.m. UTC
From: bui duc phuc <phucduc.bui@gmail.com>

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@gmail.com/

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

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(-)