aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2014-11-25 22:52:24 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-16 22:50:45 +0100
commit5c697e5b46efea2c0a5da55208bc71db46698fd1 (patch)
tree65264f081f2dc54c44214a5e163be5ddaa18c7e9 /sound/firewire/amdtp.h
parentALSA: fireworks: fix an endianness bug for transaction length (diff)
downloadlinux-dev-5c697e5b46efea2c0a5da55208bc71db46698fd1.tar.xz
linux-dev-5c697e5b46efea2c0a5da55208bc71db46698fd1.zip
ALSA: firewire-lib: remove rx_blocks_for_midi quirk
There are several devices that expect to receive MIDI data only in the first eight data blocks of a packet. If the driver restricts the data rate to the allowed rate (as mandated by the specification, but not yet implemented by this driver), this happens naturally. Therefore, there is no reason to ever try to use more data packets with any device. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp.h')
-rw-r--r--sound/firewire/amdtp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/firewire/amdtp.h b/sound/firewire/amdtp.h
index e6e8926275b0..cd4c4dfb3951 100644
--- a/sound/firewire/amdtp.h
+++ b/sound/firewire/amdtp.h
@@ -152,9 +152,6 @@ struct amdtp_stream {
/* quirk: fixed interval of dbc between previos/current packets. */
unsigned int tx_dbc_interval;
- /* quirk: the first count of data blocks in an rx packet for MIDI */
- unsigned int rx_blocks_for_midi;
-
bool callbacked;
wait_queue_head_t callback_wait;
struct amdtp_stream *sync_slave;