aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-01-21 13:42:46 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:09:50 -0700
commitf780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2 (patch)
treee9409fe1a141329ba08e077177076680c898982a /drivers/input
parent34dcf173c5f6256210741c0c83bbebf4e017d5ad (diff)
downloadkernel_samsung_aries-f780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2.zip
kernel_samsung_aries-f780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2.tar.gz
kernel_samsung_aries-f780a1f78fe3f4a4ce27bf862cb6cf1fb14950f2.tar.bz2
input: keyreset: Only print message for default handler
Change-Id: I68e5451fef2e6f08bf1035077ea999e34a619f87 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyreset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyreset.c b/drivers/input/keyreset.c
index a5091ac..36208fe 100644
--- 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;
}