summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorHyeongJun An <sammiee5311@gmail.com>2026-09-30 20:15:33 +0900
committerTakashi Iwai <tiwai@suse.de>2026-10-04 20:22:11 +0200
commitc9b0768669976a1beb0a1537b4257bd6b76dfbac (patch)
tree5880e28336fb25d312b7c1c03f17e33cd43019df /tools/lib/python/kdoc/python_version.py
parent12455e2b8c3ae5ca368f368d8169ca37e9f718be (diff)
selftests/alsa: Do not take another control's event as our own
The wait_for_event() skips an event for a different control with a continue inside its do-while loop. But continue goes straight to the loop condition, and that tests the mask of the event just skipped. So a value event for another control ends the wait as if it were ours. A driver that notifies a second control from its put() queues that event first. The core only sends ours once put() returns. So the wait returns early and leaves ours in the queue. The next test then reports it as spurious. And event_missing passes for a control whose put() said nothing changed, as long as it notified a neighbour. To fix this, clear the mask before skipping the event. Fixes: b1446bda5645 ("kselftest: alsa: Check for event generation when we write to controls") Signed-off-by: HyeongJun An <sammiee5311@gmail.com> Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260930111534.3782264-2-sammiee5311@gmail.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions