Home
last modified time | relevance | path

Searched hist:"3 f48b137d88e710b67b2bcc01aa3d77b4db610c4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/alsa/
H A Dmixer-test.cdiff 3f48b137d88e710b67b2bcc01aa3d77b4db610c4 Fri Dec 17 07:02:12 CST 2021 Mark Brown <broonie@kernel.org> 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>