diff options
author | Danny Song <dsong@nvidia.com> | 2014-06-13 10:07:36 +0800 |
---|---|---|
committer | Danny Song <dsong@nvidia.com> | 2014-06-14 04:52:49 -0700 |
commit | c25b2d525a37d40d57afe95ae708825421c57da3 (patch) | |
tree | 591e14caf03f5808fe390ff734463a3322365366 /drivers | |
parent | a3811c874eb6776170868e9bdcc2a8f2afe8b0a8 (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
Diffstat (limited to 'drivers')
-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) |