diff options
author | Ramalingam C <ramalingamc@nvidia.com> | 2011-09-13 17:49:11 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:07 -0800 |
commit | f8206d72ce418631f77836c3eb689252f872172d (patch) | |
tree | 34dddb2aabc9fe83ef0de412aabbcb247a36f9d6 /arch/arm/mach-tegra/board-ventana.c | |
parent | 91aeed77ec2ae3d5a5721febec59a04d6c9e079e (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
Reviewed-on: http://git-master/r/52049
(cherry picked from commit 68f4c9bbf9b533fd44215d26b3d0acf11865a819)
Change-Id: I8fe42bbe5d5bd41dd1737bca9af9e35611443f40
Reviewed-on: http://git-master/r/54422
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Ra71aa54f1b8d7f8d30ca45c36e2b8d130969b62e
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c index 5b0f867017f4..c986e4ff7ba7 100644 --- a/arch/arm/mach-tegra/board-ventana.c +++ b/arch/arm/mach-tegra/board-ventana.c @@ -129,7 +129,6 @@ static __initdata struct tegra_clk_init_table ventana_clk_init_table[] = { { "blink", "clk_32k", 32768, false}, { "pll_p_out4", "pll_p", 24000000, true }, { "pwm", "clk_32k", 32768, false}, - { "kbc", "clk_32k", 32768, true}, { "i2s1", "pll_a_out0", 0, false}, { "spdif_out", "pll_a_out0", 0, false}, { NULL, NULL, 0, 0}, @@ -610,9 +609,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_usb_init(); ventana_gps_init(); |