projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'for-4.0/upstream-fixes', 'for-4.1/genius', 'for-4.1/huion-uclogic...
[cascardo/linux.git]
/
drivers
/
hid
/
hid-debug.c
diff --git
a/drivers/hid/hid-debug.c
b/drivers/hid/hid-debug.c
index
4b2a18a
..
c785095
100644
(file)
--- a/
drivers/hid/hid-debug.c
+++ b/
drivers/hid/hid-debug.c
@@
-1128,7
+1128,8
@@
static ssize_t hid_debug_events_read(struct file *file, char __user *buffer,
if (!list->hdev || !list->hdev->debug) {
ret = -EIO;
- break;
+ set_current_state(TASK_RUNNING);
+ goto out;
}
/* allow O_NONBLOCK from other threads */