diff options
author | Danny Song <dsong@nvidia.com> | 2014-06-13 10:07:36 +0800 |
---|---|---|
committer | Danny Song <dsong@nvidia.com> | 2014-07-09 18:37:58 -0700 |
commit | f02f9144023bec45df7819a3414670c48bcc8afc (patch) | |
tree | 321c00541e5bb3a31b541a8877bb5dae46c40758 | |
parent | 55d6d0d4d6254e84f0d951cb5dbbf7209e7cf08f (diff) |
driver:tn7c:add log to indicate the power key event
Add log to indicate the power key event.
Bug 200011910
Bug 200012680
Change-Id: I462d4f1655529c0e964b77812d55d248be541eec
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/422752
GVS: Gerrit_Virtual_Submit
Reviewed-on: http://git-master/r/435524
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 4a48be984e91..6111b0c51b07 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -353,6 +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); + } static void gpio_keys_gpio_work_func(struct work_struct *work) |