projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' into for-next
[linux-2.6-block.git]
/
sound
/
firewire
/
amdtp-am824.c
diff --git
a/sound/firewire/amdtp-am824.c
b/sound/firewire/amdtp-am824.c
index 7019a2143581869cd7da5870650558ef72c8ec0d..623d014c0e7ebb6c4aa36d9d137e22742b9a87fc 100644
(file)
--- a/
sound/firewire/amdtp-am824.c
+++ b/
sound/firewire/amdtp-am824.c
@@
-321,7
+321,7
@@
static void read_midi_messages(struct amdtp_stream *s,
u8 *b;
for (f = 0; f < frames; f++) {
- port = (s->data_block_counter + f) % 8;
+ port = (
8 - s->ctx_data.tx.first_dbc +
s->data_block_counter + f) % 8;
b = (u8 *)&buffer[p->midi_position];
len = b[0] - 0x80;