]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-digi00x: add MIDI operations for MIDI control port
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 30 Oct 2015 17:43:15 +0000 (02:43 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Oct 2015 18:34:32 +0000 (19:34 +0100)
commit47d87dc4a75a7b385738d0e842249196f7c16b2a
treef69b1e28567a4f8b99c76872dbb258ca7ea5b2c5
parent301099bedd0f74467bd3909eda6a2f3bbe6e0a49
ALSA: firewire-digi00x: add MIDI operations for MIDI control port

Digi 002/003 family has two types of MIDI port; one is for physical MIDI
port and another is for MIDI control message. The former is transferred in
isochronous packet, and the latter is transferred by asynchronous
transaction. These transmission mechanisms are completely different, while
current ALSA digi00x driver defines a set of operations for them with
several condition statements. As a result, codes for the operation are
messy.

This commit adds a set of MIDI operation for control MIDI ports. In later
commit, it's applied as an operation for ALSA rawmidi character device.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/digi00x/digi00x-midi.c