diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-09 12:42:31 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-09 14:24:55 +0200 |
commit | 9cacb32a0ba691c2859a20bd5e30b71cc592fad2 (patch) | |
tree | 0e3f610bab1655f9b7b7ab6735ebac07e39d0437 /fs/afs/dir_silly.c | |
parent | 38ea4c3dc306edf6f4e483e8ad9cb8d33943afde (diff) |
ASoC: Drop snd_soc_*_get_kcontrol_locked()
The recent cleanup in ALSA control core made no difference between
snd_ctl_find_id_mixer() and snd_ctl_find_id_mixer_locked(), and the
latter is to be dropped. The only user of the left API was ASoC, and
that's snd_soc_card_get_kcontrol_locked() and
snd_soc_component_get_kcontrol_locked().
This patch drops those functions and rewrites those users to call the
variant without locked instead. The test of the API became
superfluous, hence dropped as well.
As all callers of snd_ctl_find_id_mixer_locked() are gone,
snd_ctl_find_id_mixer_locked() is finally dropped, too.
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240809104234.8488-4-tiwai@suse.de
Diffstat (limited to 'fs/afs/dir_silly.c')
0 files changed, 0 insertions, 0 deletions