2 Apr
2024
2 Apr
'24
8:41 a.m.
On Mon, 01 Apr 2024 12:02:07 +0200, Richard Fitzgerald wrote:
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.
Changes in V2: Only change is in the KUnit test (patch #3) to make the const strings more consty.
Richard Fitzgerald (3): ALSA: control: Introduce snd_ctl_find_id_mixer_locked() ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol
I suppose this goes via Mark's tree. Feel free to take my ack:
Reviewed-by: Takashi Iwai tiwai@suse.de
thanks,
Takashi