]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: ops: Remove snd_soc_get_volsw_range()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 18 Mar 2025 17:14:53 +0000 (17:14 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 19 Mar 2025 12:48:04 +0000 (12:48 +0000)
commitfd7442561cfe9516b37cdb1d229dc1f811dc86cc
tree177b6502fcd2645079905bba7dd72a33785d52cc
parent894a37c9de4b8a447ffa609d552e91ccb447c0a9
ASoC: ops: Remove snd_soc_get_volsw_range()

With the addition of the soc_mixer_reg_to_ctl() helper it is now very
clear that the only difference between snd_soc_get_volsw() and
snd_soc_get_volsw_range() is that the former supports double controls
with both values in the same register. As such we can combine both
functions.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250318171459.3203730-10-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/codecs/wm5110.c
sound/soc/soc-ops.c
sound/soc/soc-topology.c