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 | ALSA: hda: Fix a headphone detection issue when using SOF (diff) | |
parent | ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages (diff) | |
download | linux-b5c21c84705dbd96a0fff930d33022a17910b4f4.tar.xz linux-b5c21c84705dbd96a0fff930d33022a17910b4f4.zip |
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; |