diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-04-01 10:02:09 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-02 15:54:48 +0100 |
commit | 897cc72b08374c1224a9ded03c82dfc8e41f80c2 (patch) | |
tree | 7ed80d8d8b11b751e71ab4af8f64692db54e6d90 /sound/soc/Kconfig | |
parent | 08ea486a61451189b190c7b89e406b889cf693fa (diff) |
ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding
Use the snd_ctl_find_id_mixer[_locked]() wrapper in
snd_soc_card_get_kcontrol[_locked]() instead of open-coding a custom
list walk of the card controls list.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://msgid.link/r/20240401100210.61277-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/Kconfig')
0 files changed, 0 insertions, 0 deletions