aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hid-tmff2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hid-tmff2.c b/src/hid-tmff2.c
index 013039f..ee4232a 100644
--- a/src/hid-tmff2.c
+++ b/src/hid-tmff2.c
@@ -359,6 +359,9 @@ static void tmff2_work_handler(struct work_struct *w)
max_count = state->count;
spin_unlock(&tmff2->lock);
+ /* wait for each effect update to actually be sent out to avoid
+ * filling up usb output queue */
+ hid_hw_wait(tmff2->hdev);
}
if (max_count && tmff2->allow_scheduling)