diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-04-14 09:46:27 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-14 14:50:31 +0200 |
commit | 38d5826142496a6e0c21fa3fdb48fa910008c159 (patch) | |
tree | d013a7d4b8a221f1b13355ac1542a724f3e37501 /sound/firewire/tascam/tascam.h | |
parent | ALSA: firewire-tascam: remove callback function from async midi port (diff) | |
download | linux-38d5826142496a6e0c21fa3fdb48fa910008c159.tar.xz linux-38d5826142496a6e0c21fa3fdb48fa910008c159.zip |
ALSA: firewire-tascam: send fixed-length transaction for async midi port
TASCAM FireWire series uses asynchronous transactions with fixed length
payload for MIDI messaging. On the other hand, ALSA driver for the series
has a redundant design to handle different length of payload.
This commit removes the redundant abstraction.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/tascam/tascam.h')
-rw-r--r-- | sound/firewire/tascam/tascam.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/firewire/tascam/tascam.h b/sound/firewire/tascam/tascam.h index 116a2003f19e..c89d7afa998f 100644 --- a/sound/firewire/tascam/tascam.h +++ b/sound/firewire/tascam/tascam.h @@ -56,7 +56,6 @@ struct snd_fw_async_midi_port { struct fw_transaction transaction; u8 *buf; - unsigned int len; struct snd_rawmidi_substream *substream; int consume_bytes; @@ -149,7 +148,7 @@ int snd_tscm_stream_lock_try(struct snd_tscm *tscm); void snd_tscm_stream_lock_release(struct snd_tscm *tscm); int snd_fw_async_midi_port_init(struct snd_fw_async_midi_port *port, - struct fw_unit *unit, u64 addr, unsigned int len); + struct fw_unit *unit, u64 addr); void snd_fw_async_midi_port_destroy(struct snd_fw_async_midi_port *port); static inline void |