diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2010-12-19 17:33:36 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-20 21:48:16 -0500 |
commit | f861fc1766888858db6abd57adae3af7abc286ca (patch) | |
tree | c68b6bea4515757e919d14141de05db53695124b /arch | |
parent | d920e52020bcad791b12137deea341665160b974 (diff) |
omap: pandora: fix wifi support
After commit ed919b0 "mmc: sdio: fix runtime PM anomalies by introducing
MMC_CAP_POWER_OFF_CARD" it is required to specify MMC_CAP_POWER_OFF_CARD
to have runtime PM support. As the wl1251 driver expects card to be
powered down when it's not used, wifi will no longer work after interface
is brought down at least once without functioning runtime PM.
Fix this by declaring MMC_CAP_POWER_OFF_CARD for MMC3.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index de8df58b8f1d..e64bcb66d1ab 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -293,7 +293,7 @@ static struct omap2_hsmmc_info omap3pandora_mmc[] = { | |||
293 | }, | 293 | }, |
294 | { | 294 | { |
295 | .mmc = 3, | 295 | .mmc = 3, |
296 | .caps = MMC_CAP_4_BIT_DATA, | 296 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD, |
297 | .gpio_cd = -EINVAL, | 297 | .gpio_cd = -EINVAL, |
298 | .gpio_wp = -EINVAL, | 298 | .gpio_wp = -EINVAL, |
299 | .init_card = pandora_wl1251_init_card, | 299 | .init_card = pandora_wl1251_init_card, |