]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: Use snd_ctl_find_id_mixer() instead of
authorMark Brown <broonie@kernel.org>
Tue, 2 Apr 2024 21:19:21 +0000 (22:19 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2024 21:19:21 +0000 (22:19 +0100)
commitdbc93a554fcec8369a504e098726f0d44175c29c
tree2939a94768e1bf6c66494a78a9d172daf20fc578
parent4189b54220e5af15e948a48524b45d5ea2e5660d
parentef7784e41db73f3d31ce545227ebba4483479a26
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.