ASoC: Use snd_ctl_find_id_mixer() instead of

Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:

The first two patches change snd_soc_card_get_kcontrol() to use the
core snd_ctl_find_id_mixer() functionality instead of open-coding its
own list walk.

The last patch adds a KUnit test for this, which was tested on the
original and modified code.
This commit is contained in:
Mark Brown 2024-04-02 22:19:21 +01:00
commit dbc93a554f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
5 changed files with 223 additions and 17 deletions