]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: bebob: enable to deliver MIDI messages for multiple ports
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 21 Mar 2021 03:28:31 +0000 (12:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:29:28 +0000 (10:29 +0200)
commit8de84ca5a7624d08d706b9a45c32fccb00976f83
treeaf466cc051c891a6c96e49a9e5736f042b917e7a
parentb99bfc5eea9b13e050793ab7150d1b160b4d190a
ALSA: bebob: enable to deliver MIDI messages for multiple ports

[ Upstream commit d2b6f15bc18ac8fbce25398290774c21f5b2cd44 ]

Current implementation of bebob driver doesn't correctly handle the case
that the device has multiple MIDI ports. The cause is the number of MIDI
conformant data channels is passed to AM824 data block processing layer.

This commit fixes the bug.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210321032831.340278-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/firewire/bebob/bebob_stream.c