summaryrefslogtreecommitdiff
path: root/sound/usb/line6/driver.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2023-01-15 12:22:36 +0200
committerLeon Romanovsky <leon@kernel.org>2023-01-15 12:22:36 +0200
commit1ca49d26afc2609542be4a57e336191b525ca698 (patch)
tree36624298c11de91a7a25f0c92d07faeff0d96292 /sound/usb/line6/driver.c
parentccdbefcf661e537a3126719f4f11484cd85404d7 (diff)
parent9b2e3723728efe03433be5c13b31da451d88ee3d (diff)
Merge branch 'mlx5-next' into HEAD
Bring HW bits for mlx5 QP events series. Link: https://lore.kernel.org/all/cover.1672821186.git.leonro@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'sound/usb/line6/driver.c')
-rw-r--r--sound/usb/line6/driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index 59faa5a9a714..b67617b68e50 100644
--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
@@ -304,7 +304,8 @@ static void line6_data_received(struct urb *urb)
for (;;) {
done =
line6_midibuf_read(mb, line6->buffer_message,
- LINE6_MIDI_MESSAGE_MAXLEN);
+ LINE6_MIDI_MESSAGE_MAXLEN,
+ LINE6_MIDIBUF_READ_RX);
if (done <= 0)
break;