omap: pandora: fix wifi support
Subsystems (3)
PATCH 1/1 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.
---
this is a fix but can go for 2.6.38 as wl1251 runtime PM support is only queued for .38 .
arch/arm/mach-omap2/board-omap3pandora.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-omap3pandora.c +1 -1
@@ -293,7 +293,7 @@ static struct omap2_hsmmc_info omap3pandora_mmc[] = { }, { .mmc = 3, - .caps = MMC_CAP_4_BIT_DATA, + .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD, .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, .init_card = pandora_wl1251_init_card,
Signature · 1 line
1.6.3.3
Tony Lindgren
maintainerPATCH 1/1 omap: pandora: fix wifi support
Quoted 6 lines · Grazvydas Ignotas
After commit ed919b0 "mmc: sdio: fix runtime PM anomalies by introducing
MMC_CAP_POWER_OFF_CARD" it is required to specifyMMC_CAP_POWER_OFF_CARDto 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.
Quoted 6 lines
Fix this by declaring
MMC_CAP_POWER_OFF_CARDfor MMC3.Signed-off-by Grazvydas Ignotas <[email protected]>---
this is a fix but can go for 2.6.38 as wl1251 runtime PM support is only queued for .38 .
Thanks queuing for the merge window.
Regards,
Tony