projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0085255
)
input: misc: keychord: log when keychord triggered
author
JP Abgrall
<jpa@google.com>
Tue, 5 Mar 2013 22:25:36 +0000
(14:25 -0800)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 1 Jul 2013 21:16:21 +0000
(14:16 -0700)
log keychord id at info level just before waking up processes.
Signed-off-by: JP Abgrall <jpa@google.com>
drivers/input/misc/keychord.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/keychord.c
b/drivers/input/misc/keychord.c
index 3ffab6da411b54ec7d7a7012fd051df803b8e8d2..a5ea27ad0e16c658d7ac2e3629e647c1b9f9cff2 100644
(file)
--- a/
drivers/input/misc/keychord.c
+++ b/
drivers/input/misc/keychord.c
@@
-126,8
+126,12
@@
static void keychord_event(struct input_handle *handle, unsigned int type,
done:
spin_unlock_irqrestore(&kdev->lock, flags);
- if (got_chord)
+ if (got_chord) {
+ pr_info("keychord: got keychord id %d. Any tasks: %d\n",
+ keychord->id,
+ !list_empty_careful(&kdev->waitq.task_list));
wake_up_interruptible(&kdev->waitq);
+ }
}
static int keychord_connect(struct input_handler *handler,