diff options
author | Danny Song <dsong@nvidia.com> | 2014-06-16 15:39:03 +0800 |
---|---|---|
committer | Danny Song <dsong@nvidia.com> | 2014-07-09 18:38:15 -0700 |
commit | d48f56575fb327ce2d2fdbe713de343226d8449e (patch) | |
tree | 0efa66acae937867f31a4eea04849745142a7aee | |
parent | f02f9144023bec45df7819a3414670c48bcc8afc (diff) |
driver:tn7c:key event log is self-explanatory
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
Reviewed-on: http://git-master/r/435525
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 3 |
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); } |