]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Mar 2021 11:23:12 +0000 (12:23 +0100)
commitad1823d2dd3713de7b45f481a490a7d17ad0a171
tree64240145e29af7b76dc52815b56f3effc13a6d0e
parentd93c446b7643a6227558ac9014e1d329cd4a594e
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