OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03d6c1
)
input: keyreset: Only print message for default handler
author
Colin Cross
<ccross@android.com>
Fri, 21 Jan 2011 21:42:46 +0000
(13:42 -0800)
committer
Brian Swetland
<swetland@google.com>
Tue, 29 Mar 2011 20:58:03 +0000
(13:58 -0700)
Change-Id: I68e5451fef2e6f08bf1035077ea999e34a619f87
Signed-off-by: Colin Cross <ccross@android.com>
drivers/input/keyreset.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyreset.c
b/drivers/input/keyreset.c
index
a5091ac
..
36208fe
100644
(file)
--- a/
drivers/input/keyreset.c
+++ b/
drivers/input/keyreset.c
@@
-88,10
+88,10
@@
static void keyreset_event(struct input_handle *handle, unsigned int type,
state->restart_disabled = 1;
if (restart_requested)
panic("keyboard reset failed, %d", restart_requested);
- pr_info("keyboard reset\n");
if (state->reset_fn) {
restart_requested = state->reset_fn();
} else {
+ pr_info("keyboard reset\n");
schedule_work(&restart_work);
restart_requested = 1;
}