ARM: tegra: cardhu: Request gpio before using it
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Mon, 11 Jul 2011 08:51:40 +0000 (13:51 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 02:57:16 +0000 (19:57 -0700)
commit5ae6772d0edb4ea983623e3c36c5afedc981f508
treeaa1899526bde04a6da4170765dc8dcba27dd5df5
parent18aae6e7a8255ec8c0b6d8af364c7fc0b634c140
ARM: tegra: cardhu: Request gpio before using it

Modem disable pin direction changed without requesting
the gpio which results in a warning.

Fixing this by calling gpio_request before changing direction

Bug 825559

Original-Change-Id: Ic4b56c194a883b7b388013f0e5b75e7ed9dc9d50
Reviewed-on: http://git-master/r/40352
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R379f347f5a06cdee3fa7918c4ff0096d1500f793
arch/arm/mach-tegra/board-cardhu.c