summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamalingam C <ramalingamc@nvidia.com>2011-09-13 17:49:11 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-09-15 12:26:31 -0700
commit68f4c9bbf9b533fd44215d26b3d0acf11865a819 (patch)
tree94cc550a2918bf7b966021c548d0a0c3bf185300
parentc32ee639eff5b3aea77049a472f6bd7cac48d407 (diff)
Ventana: KBC: Removing the KBC usage on ventana
On Ventana, Keys are handled through the GPIO driver. So CONFIG_KEYBOARD_TEGRA should not be defined On LDK, kernel defconfig of Harmony is shared with Ventana(to move towards SingleBinary for multiple tegra boards). Since on Harmony we have to support the matrix keyboard through KBC, we have enabled the KBC driver by defining CONFIG_KEYBOARD_TEGRA which reflects in Ventana also. This situation leads to an spurious interrupt from KBC as soon as system enters into the LP0 state. To avoid the early exit from LP0, we are removing the KBC device registration on board_ventana.c Bug 869778 Change-Id: I6a097ad8713d2648fd08f0657a37b826e47c2379 Reviewed-on: http://git-master/r/52049 Reviewed-by: Ramalingam C <ramalingamc@nvidia.com> Tested-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-ventana.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index dc804bca186d..cb75682e134c 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -851,9 +851,6 @@ static void __init tegra_ventana_init(void)
#ifdef CONFIG_KEYBOARD_GPIO
ventana_keys_init();
#endif
-#ifdef CONFIG_KEYBOARD_TEGRA
- ventana_kbc_init();
-#endif
ventana_wired_jack_init();
ventana_usb_init();