ARM: tegra: cardhu: pm299: system wake through tegra gpio
Laxman Dewangan [Thu, 3 May 2012 15:03:52 +0000 (20:03 +0530)]
Waking up system through the tegra gpio inplace of ricoh onkey
when using the ricoh based pmu.

bug 978922

Change-Id: If9c5baffa42aca5fcc7d6238c5cf122a136e7760
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100351
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

arch/arm/mach-tegra/board-cardhu-kbc.c

index 3bf0a3b..c369b1c 100644 (file)
@@ -200,7 +200,7 @@ static struct gpio_keys_button cardhu_pm298_int_keys[] = {
 };
 
 static struct gpio_keys_button cardhu_pm299_int_keys[] = {
-       [0] = GPIO_IKEY(KEY_POWER, RICOH583_IRQ_BASE + RICOH583_IRQ_ONKEY, 1, 100),
+       [0] = GPIO_KEY(KEY_POWER, PV0, 1),
 };
 
 static struct gpio_keys_platform_data cardhu_int_keys_pdata = {