]> 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)
commitc67a895c654f18579dd159ff6d1e40f3825cc1f1
treef69b1e28567a4f8b99c76872dbb258ca7ea5b2c5
parent69d4449922b10b0e14a00ebdcd87fd1a5c07680d
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