diff options
author | Johnny Qiu <joqiu@nvidia.com> | 2012-04-28 16:07:44 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-01 14:26:59 -0700 |
commit | 6f7d0bdad55369cb9f24f682cf4088f5ee35d108 (patch) | |
tree | 35fb3b43cb9770af28e983de981e40e4c25068e9 /arch/arm/mach-tegra | |
parent | 597391b54b6b835f0f7bcb93290d491cb2add9f4 (diff) |
arm: tegra: kai: do not enable wakeup for interrupt keys
Bug 975433
MAX77663 driver hasn't implemented irq_set_wake(). Actually its
interrupt always wakes up AP. Set wakeup = false to reduce warning
messages in kernel.
Change-Id: Id4f43d7d2ba879c92846091e2062765de7ea477e
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/99536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-kai-kbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-kai-kbc.c b/arch/arm/mach-tegra/board-kai-kbc.c index 5c5286402798..928e5de707c9 100644 --- a/arch/arm/mach-tegra/board-kai-kbc.c +++ b/arch/arm/mach-tegra/board-kai-kbc.c @@ -67,8 +67,8 @@ static struct gpio_keys_button kai_keys[] = { [3] = GPIO_KEY(KEY_SEARCH, PQ3, 0), [4] = GPIO_KEY(KEY_VOLUMEUP, PR1, 0), [5] = GPIO_KEY(KEY_VOLUMEDOWN, PR0, 0), - [6] = GPIO_IKEY(KEY_POWER, MAX77663_IRQ_BASE + MAX77663_IRQ_ONOFF_EN0_FALLING, 1, 100), - [7] = GPIO_IKEY(KEY_POWER, MAX77663_IRQ_BASE + MAX77663_IRQ_ONOFF_EN0_1SEC, 1, 3000), + [6] = GPIO_IKEY(KEY_POWER, MAX77663_IRQ_BASE + MAX77663_IRQ_ONOFF_EN0_FALLING, 0, 100), + [7] = GPIO_IKEY(KEY_POWER, MAX77663_IRQ_BASE + MAX77663_IRQ_ONOFF_EN0_1SEC, 0, 3000), }; static struct gpio_keys_platform_data kai_keys_platform_data = { |