Re: [PATCH] sdio: add CD disable support

From: Ohad Ben-Cohen
Date: Thu Jul 30 2009 - 11:55:42 EST


On Thu, Jul 30, 2009 at 3:45 PM, Matt Fleming<matt@xxxxxxxxxxxxxxxxx> wrote:
> Do you have a follow-up patch to make use of this new functionality?

Well, sort of:

The patch sets disable_cd for TI wl1271 embedded wlan sdio device on a
ZOOM2 platform.

Since the patch is very board/device specific, we first route it via
internal maintainers, so it is not posted yet.

It's nothing fancy:

diff --git a/arch/arm/mach-omap2/mmc-twl4030.c
b/arch/arm/mach-omap2/mmc-twl4030.c
index 5b64bf1..caa8b16 100644
--- a/arch/arm/mach-omap2/mmc-twl4030.c
+++ b/arch/arm/mach-omap2/mmc-twl4030.c
@@ -81,6 +81,7 @@ static struct embedded_sdio_data omap_wifi_emb_data = {
.wide_bus = 1,
.high_power = 0,
.high_speed = 0,
+ .disable_cd = 1,
},
.funcs = wifi_func_array,
.num_funcs = 2,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/