~diwic/alsa-driver/snd-firewire-improve

Viewing all changes in revision 1440.

  • Committer: Takashi Sakamoto
  • Date: 2021-03-23 08:27:12 UTC
  • Revision ID: git-v1:216d87832269c607dcd084844c43b5d7ad09a7b8
ALSA: bebob: detect the number of available MIDI ports

Current implementation counts the number of input/output plugs for MIDI
type and uses the count as the number of physical MIDI ports. However,
the number of channels of the port represents the count.

This commit fixes the bug by additional vendor-specific AVC command
extension.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210321032831.340278-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: