diff options
| author | Takashi Iwai <tiwai@suse.de> | 2024-11-28 18:04:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:14 +0100 |
| commit | 01c3525718e851845dfac4ed542e644355656ce5 (patch) | |
| tree | 479988de3cc09b860771174367a33d4300158865 /tools/scripts/Makefile.arch | |
| parent | 5c9e3bb43a354a2245caebbbbb4a5b8c034fdd56 (diff) | |
| download | linux-01c3525718e851845dfac4ed542e644355656ce5.tar.gz linux-01c3525718e851845dfac4ed542e644355656ce5.tar.bz2 linux-01c3525718e851845dfac4ed542e644355656ce5.zip | |
ALSA: seq: ump: Fix seq port updates per FB info notify
[ Upstream commit aaa55faa2495320e44bc643a917c701f2cc89ee7 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/scripts/Makefile.arch')
0 files changed, 0 insertions, 0 deletions
