diff options
author | Mark Brown <broonie@kernel.org> | 2021-12-17 16:02:12 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-12-25 11:13:12 +0300 |
commit | 3f48b137d88e710b67b2bcc01aa3d77b4db610c4 (patch) | |
tree | 6fbb86249e30aee608e4ac150eb363a60cbacda3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0f7e5ee62f4c24ca9db58351c86653cc3ee0bd0e (diff) | |
download | linux-3f48b137d88e710b67b2bcc01aa3d77b4db610c4.tar.xz |
kselftest: alsa: Factor out check that values meet constraints
To simplify the code a bit and allow future reuse factor the checks that
values we read are valid out of test_ctl_get_value() into a separate
function which can be reused later. As part of this extend the test to
check all the values for the control, not just the first one.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211217130213.3893415-2-broonie@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions