diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2011-05-26 16:55:06 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-05-27 19:54:43 -0700 |
commit | 51d5a67434bb892edac6dfb171438eb7c6cd0c3f (patch) | |
tree | 399391d8bedefd9c439e51778e6b595e95e21fbd /arch/arm/mach-tegra/board-whistler-sdhci.c | |
parent | 9fcdbe83d85021e6cfbfb075240b6a8439f308e0 (diff) |
ARM: tegra: whistler: Add cd gpio polarity to platform data
Passing card detect gpio polarity through platform data.
This is used in sd cards insertion/removal detection.
Bug 831409
Change-Id: I29c99696daf094d4f04789121ddfb681dccca12a
Reviewed-on: http://git-master/r/33123
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Joseph Lehrer <jlehrer@nvidia.com>
Tested-by: Joseph Lehrer <jlehrer@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-sdhci.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-sdhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-sdhci.c b/arch/arm/mach-tegra/board-whistler-sdhci.c index 71b461ff6566..f75e9bb317aa 100644 --- a/arch/arm/mach-tegra/board-whistler-sdhci.c +++ b/arch/arm/mach-tegra/board-whistler-sdhci.c @@ -178,6 +178,7 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = { .clk_id = NULL, .force_hs = 0, .cd_gpio = WHISTLER_EXT_SDCARD_DETECT, + .cd_gpio_polarity = 0, .wp_gpio = -1, .power_gpio = -1, }; |