diff mbox

HID: wake up reading tasks when debug event occurs

Message ID 1283189265-5015-1-git-send-email-chase.douglas@canonical.com (mailing list archive)
State Accepted
Commit 1debfb3315d95ab5ce328e307bd115b4400685fb
Headers show

Commit Message

Chase Douglas Aug. 30, 2010, 5:27 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index 850d02a..adff4ef 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -570,6 +570,8 @@  void hid_debug_event(struct hid_device *hdev, char *buf)
 				buf[i];
 		list->tail = (list->tail + i) % HID_DEBUG_BUFSIZE;
         }
+
+	wake_up_interruptible(&hdev->debug_wait);
 }
 EXPORT_SYMBOL_GPL(hid_debug_event);