summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Song <dsong@nvidia.com>2014-06-16 15:39:03 +0800
committerDanny Song <dsong@nvidia.com>2014-06-18 23:27:44 -0700
commitb1d7998fd102408f622b5c72e816a6f2d49ac37d (patch)
tree94408d24369b9d4ce59e16d650c765dd114065f3
parent56b19bb4034bef0952d41e5675d7eab3174c9d39 (diff)
driver:tn7c:key event log is self-explanatorydaily-2014.08.05.0_rel-tegranote-r6-partner
Add log to indicate the power key event. Update the log info to be self-explanatory. Bug 200011910 Bug 200012680 Change-Id: Ic06878fc65402c0b4d585967b0f0c7a22e41935c Signed-off-by: Danny Song <dsong@nvidia.com> Reviewed-on: http://git-master/r/423608
-rw-r--r--drivers/input/keyboard/gpio_keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 6111b0c51b07..c8e50da6340b 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -353,7 +353,8 @@ static void gpio_keys_gpio_report_event(struct gpio_button_data *bdata)
input_event(input, type, button->code, !!state);
}
input_sync(input);
- printk("gpio key event is reported gpio=%d\n",button->code);
+ printk("gpio key event is reported gpio=%d \
+ (114:vol-; 115:vol+; 116:power key) \n",button->code);
}