diff options
author | Mark Brown <broonie@kernel.org> | 2024-06-16 10:34:45 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-06-18 13:00:18 +0300 |
commit | 1b1285e4759e4d9df4f8e46d92802ff87ce8709b (patch) | |
tree | b53c80f3826c243dd3b207f72543220bc29aa08b /scripts/generate_rust_analyzer.py | |
parent | 50ed081284fe2bfd1f25e8b92f4f6a4990e73c0a (diff) | |
download | linux-1b1285e4759e4d9df4f8e46d92802ff87ce8709b.tar.xz |
kselftest/alsa: Fix validation of writes to volatile controls
When validating writes to controls we check that whatever value we wrote
actually appears in the control. For volatile controls we cannot assume
that this will be the case, the value may be changed at any time
including between our write and read. Handle this by moving the check
for volatile controls that we currently do for events to a separate
block and just verifying that whatever value we read is valid for the
control.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240614-alsa-selftest-volatile-v1-1-3874f02964b1@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/20240616073454.16512-5-tiwai@suse.de
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions