diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-31 14:26:16 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-02 18:02:50 -0700 |
commit | 4361257643046dc507deb8b7a0b49401ecb51c7f (patch) | |
tree | bcbcc0f8d7e317e1b732d6afe39762e750788976 /arch/arm/mach-tegra/board-cardhu.c | |
parent | f34ad144dd221836787fd9bc6871274174364a66 (diff) |
ARM: tegra: cardhu: get rid of tegra_gpio_enable() in hsic registration
The gpio mode of pin is configured when setting
direction and hence this call is no more required.
Change-Id: Id54a26bc2f3a968c60364b1d5109dd23ff724b94
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119606
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c index 5da7abef7b12..242bbef30936 100644 --- a/arch/arm/mach-tegra/board-cardhu.c +++ b/arch/arm/mach-tegra/board-cardhu.c @@ -1084,10 +1084,6 @@ void hsic_platform_open(void) gpio_direction_output(hsic_enable_gpio, 0 /* deasserted */); if (!reset_gpio) gpio_direction_output(hsic_reset_gpio, 0 /* asserted */); - if (!enable_gpio) - tegra_gpio_enable(hsic_enable_gpio); - if (!reset_gpio) - tegra_gpio_enable(hsic_reset_gpio); /* keep hsic reset asserted for 1 ms */ udelay(1000); /* enable (power on) hsic */ |