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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Mar 2021 11:23:12 +0000 (12:23 +0100)
commitd2b6f15bc18ac8fbce25398290774c21f5b2cd44
tree64240145e29af7b76dc52815b56f3effc13a6d0e
parent5c6ea94f2b7c5ce4c012ac8c23fd35588f69c4c7
ALSA: bebob: enable to deliver MIDI messages for multiple ports

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>
sound/firewire/bebob/bebob_stream.c