diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-03-18 20:14:48 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-19 15:48:00 +0300 |
commit | c6002c1177cafb4462b6c188d2a62eb67f15165f (patch) | |
tree | 3b406d182d2d5c1cf0ccdd2f2b9222260dd5dfb7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7f978180673b4f3b68fcc66fc1f1d74a1fc5a93a (diff) | |
download | linux-c6002c1177cafb4462b6c188d2a62eb67f15165f.tar.xz |
ASoC: ops: Update mask generation to use GENMASK
Use GENMASK to make the masks for the various control helper functions.
Also factor out a shared helper function for the volsw and volsw_range
controls since the same code is appropriate for each. Note this does add
support for sign_bit into the volsw_range callbacks.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250318171459.3203730-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions