diff options
Diffstat (limited to 'sound/firewire/amdtp-am824.c')
| -rw-r--r-- | sound/firewire/amdtp-am824.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c index cc6eb30f03a2..71168728940a 100644 --- a/sound/firewire/amdtp-am824.c +++ b/sound/firewire/amdtp-am824.c | |||
| @@ -320,7 +320,7 @@ static void read_midi_messages(struct amdtp_stream *s, | |||
| 320 | u8 *b; | 320 | u8 *b; |
| 321 | 321 | ||
| 322 | for (f = 0; f < frames; f++) { | 322 | for (f = 0; f < frames; f++) { |
| 323 | port = (s->data_block_counter + f) % 8; | 323 | port = (8 - s->tx_first_dbc + s->data_block_counter + f) % 8; |
| 324 | b = (u8 *)&buffer[p->midi_position]; | 324 | b = (u8 *)&buffer[p->midi_position]; |
| 325 | 325 | ||
| 326 | len = b[0] - 0x80; | 326 | len = b[0] - 0x80; |
