On 2021-12-17 2:02 PM, Mark Brown wrote:
These two patches improve the mixer test, checking that the default values for enums are valid and extending them to cover all the values for multi-value controls, not just the first one. It also factors out the validation that values are OK for controls for future reuse.
Mark Brown (2): kselftest: alsa: Factor out check that values meet constraints kselftest: alsa: Validate values read from enumerations
tools/testing/selftests/alsa/mixer-test.c | 158 ++++++++++++++-------- 1 file changed, 99 insertions(+), 59 deletions(-)
base-commit: b73dad806533cad55df41a9c0349969b56d4ff7f
Apart from my previous question regarding patch 1/2 (which has been already answered), I have not found any issues with the series.
Reviewed-by: Cezary Rojewski cezary.rojewski@intel.com
Regards, Czarek