diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-07-01 17:01:00 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-07-01 17:01:55 +0200 |
commit | b5c21c84705dbd96a0fff930d33022a17910b4f4 (patch) | |
tree | a080aa4383c8f4ffb91225d234ac9b530b2ff0fa /sound/firewire/amdtp-am824.c | |
parent | 7c2b3629d09ddec810dc4c1d3a6657c32def8f71 (diff) | |
parent | 7fbd1753b64eafe21cf842348a40a691d0dee440 (diff) |
Merge branch 'for-linus' into for-next
This back-merge is necessary for adjusting the latest FireWire fix
with the recent refactoring in 5.3 development branch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 7019a2143581..623d014c0e7e 100644 --- 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; |