]> 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)
commit343e1c4e32ce1b4d29da9bce5a7671738c70ec97
tree64240145e29af7b76dc52815b56f3effc13a6d0e
parent4fe2aface817016ea191c087a6e7fb449f6870eb
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