ASoC: Add a new SoundWire enumeration helper

Charles Keepax <ckeepax@opensource.cirrus.com> says:

Add a new SoundWire enumeration helper function, many drivers have
almost identical code in runtime resume so it makes sense to move this
to the core.

It is worth noting this is really step one of a larger process, there
are a few drivers that do more custom things and are not covered by this
series. But this series picks up the low hanging fruit and moves things
in a good direction.

The next step is to look at drivers that also wait at probe time, where
the unattached_request flag is not going to be valid.

Link: https://patch.msgid.link/20260512103022.1154645-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Mark Brown 2026-05-12 19:47:14 +09:00
commit ca1063ae03
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
22 changed files with 119 additions and 247 deletions