* [PATCH] omap: pandora: fix wifi support
@ 2010-12-19 22:33 Grazvydas Ignotas
2010-12-21 1:14 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Grazvydas Ignotas @ 2010-12-19 22:33 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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(-)
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index 89ed1be..12c0bbb 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[] = {
},
{
.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,
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] omap: pandora: fix wifi support
2010-12-19 22:33 [PATCH] omap: pandora: fix wifi support Grazvydas Ignotas
@ 2010-12-21 1:14 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2010-12-21 1:14 UTC (permalink / raw)
To: linux-arm-kernel
* Grazvydas Ignotas <notasas@gmail.com> [101219 14:33]:
> 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>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-21 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-19 22:33 [PATCH] omap: pandora: fix wifi support Grazvydas Ignotas
2010-12-21 1:14 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).