aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2021-12-17 13:02:12 +0000
committerTakashi Iwai <[email protected]>2021-12-25 09:13:12 +0100
commit3f48b137d88e710b67b2bcc01aa3d77b4db610c4 (patch)
tree6fbb86249e30aee608e4ac150eb363a60cbacda3 /drivers/usb/cdns3/cdns3-imx.c
parent0f7e5ee62f4c24ca9db58351c86653cc3ee0bd0e (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 <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions