diff options
author | Raghuveer Murthy <raghuveer.murthy@ti.com> | 2010-12-21 09:14:34 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-21 20:53:15 -0500 |
commit | 5b59cc2fc2ff90369d6aa7862caaba3cf45b5075 (patch) | |
tree | 190c45c3f6afa4e58744a5291b5b3a3e777d74f5 /arch/arm/mach-omap2/board-omap4panda.c | |
parent | 79c5f68dc221df729417823d4981373f4762d8eb (diff) |
OMAP4: Pandaboard: Fix MMC card detect gpio line
commit bf56f0a6668cd (2.6.37-rc1), from Nishanth Menon attempted
to fix card detection for PandaBoard, unfortunately, the fix missed
to initialize .gpio_cd member of omap2_hsmmc_info. This results
in a default value of '0', which is a valid GPIO line.
On PandaBoard, the side effect of this is that GPIO line 0 controls
the powering TFP410 DVI chip, and without the fix DVI chip is
inadvertently powered.
Tested-by: David Anders <x0132446@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Raghuveer Murthy <raghuveer.murthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index b82f2319a091..d4a9aa41e877 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -142,6 +142,7 @@ static struct omap2_hsmmc_info mmc[] = { | |||
142 | .mmc = 1, | 142 | .mmc = 1, |
143 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | 143 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, |
144 | .gpio_wp = -EINVAL, | 144 | .gpio_wp = -EINVAL, |
145 | .gpio_cd = -EINVAL, | ||
145 | }, | 146 | }, |
146 | {} /* Terminator */ | 147 | {} /* Terminator */ |
147 | }; | 148 | }; |