| commit | d2b63e70d2bf100de58bc858dcd77d2ab08a84dd | [log] [tgz] |
|---|---|---|
| author | Mark Brown <broonie@kernel.org> | Thu Dec 16 18:04:04 2021 +0000 |
| committer | Mark Brown <broonie@kernel.org> | Fri Dec 17 12:50:49 2021 +0000 |
| tree | 9f252ee2b90c2b9722a13b68c8d9295527f0ddf4 | |
| parent | b73dad806533cad55df41a9c0349969b56d4ff7f [diff] |
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>