summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2025-03-18 17:14:55 +0000
committerMark Brown <broonie@kernel.org>2025-03-19 12:48:06 +0000
commit9dfcafe2037acc14265cead8d8a937a8bc4e01d8 (patch)
tree5783c625a9cf15696291e7290cd8279c73c429d5 /scripts/generate_rust_analyzer.py
parent7d5df968f95cee274740d5fa42e0798ffb59bd38 (diff)
ASoC: ops: Factor out common code from info callbacks
snd_soc_info_volsw() and snd_soc_info_volsw_sx() do very similar things, and have a lot of code in common. Already this is causing some issues as the detection of volume controls has been fixed in the normal callback but not the sx callback. Factor out a new helper containing the common code and leave the function specific bits behind in each callback. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20250318171459.3203730-12-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions