diff options
author | Mark Brown <[email protected]> | 2022-01-25 16:28:24 +0000 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-01-26 15:59:49 +0100 |
commit | 88b6132248940954b958cd4e6d0432c640a9abd2 (patch) | |
tree | 8bba147d7d57d7ef2febced6c5c8f0ded728f3b2 /tools/perf/scripts/python/sched-migration.py | |
parent | 2b101256fd552bf2e29980d51394ebd88737159c (diff) |
kselftest: alsa: Add test case for writing invalid values
Attempt to write various invalid values for control types we know about and
check that something sensible happens. The ABI isn't quite as clearly
defined as one might like, rather than generating an error when an invalid
value is written many devices will silently rewrite the value into one that
is valid for the control. The exact value chosen is not predictable so in
the case the write succeeds we just check that the value we read back is
one that is valid for the control.
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions