From: Colin Cross Date: Fri, 21 Jan 2011 21:42:46 +0000 (-0800) Subject: input: keyreset: Only print message for default handler X-Git-Tag: 2.1b_release~2654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f66b2115ec67ae6795d08c133eaeb8a3f2e4e31;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git input: keyreset: Only print message for default handler Change-Id: I68e5451fef2e6f08bf1035077ea999e34a619f87 Signed-off-by: Colin Cross --- 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; }