diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-20 14:46:59 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-20 15:49:15 (GMT) |
commit | f937b43d48f1080e39de723d15680b2ad5d7e6fd (patch) | |
tree | f39abb05a3edee3fb2619647e3435ee74883a27d /drivers/infiniband/hw/usnic/usnic_fwd.c | |
parent | 123990e930ac1213df2dfa0e2d57cfc0e1dd5e02 (diff) | |
download | linux-f937b43d48f1080e39de723d15680b2ad5d7e6fd.tar.xz |
ALSA: firewire-tascam: clear extra MIDI bytes in an asynchronous transaction
When MIDI buffer stores two or more MIDI messages, TASCAM driver
transfers asynchronous transactions including one MIDI message and
extra bytes from second MIDI message.
This commit fixes this bug by clearing needless bytes in the buffer. The
consumed bytes are already calculated correctly, thus the sequence of
transactions is already correct.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/infiniband/hw/usnic/usnic_fwd.c')
0 files changed, 0 insertions, 0 deletions