diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-11-28 20:04:22 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-11-29 13:04:10 +0300 |
commit | aaa55faa2495320e44bc643a917c701f2cc89ee7 (patch) | |
tree | 2f3126ef55468e2154121ed9bb815dd6bfe21591 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2e5bf5b6d2617aff3bd6577bbc8e024cca436d76 (diff) | |
download | linux-aaa55faa2495320e44bc643a917c701f2cc89ee7.tar.xz |
ALSA: seq: ump: Fix seq port updates per FB info notify
update_port_infos() is called when a UMP FB Info update notification
is received, and this function is supposed to update the attributes of
the corresponding sequencer port. However, the function had a few
issues and it brought to the incorrect states. Namely:
- It tried to get a wrong sequencer info for the update without
correcting the port number with the group-offset 1
- The loop exited immediately when a sequencer port isn't present;
this ended up with the truncation if a sequencer port in the middle
goes away
This patch addresses those bugs.
Fixes: 4a16a3af0571 ("ALSA: seq: ump: Handle FB info update")
Link: https://patch.msgid.link/20241128170423.23351-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions