From 2b2756069589cfb794bc03f1631426df77fea28f Mon Sep 17 00:00:00 2001 From: "w12.lee" Date: Tue, 5 Oct 2010 23:38:57 +0900 Subject: S5PC11X: WLAN: Add delay for some fail cases. In some cases like switching both wlan mode (STA <-> AP), detecting mmc could be fail. So we need more delay(15 msec) for being ready. (Though we add extra delay, total enabling time will be shorter, since reducing some delay at mmc side.) Signed-off-by: w12.lee --- arch/arm/mach-s5pv210/mach-herring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-s5pv210/mach-herring.c b/arch/arm/mach-s5pv210/mach-herring.c index c126a6e..ffa8c0a 100644 --- a/arch/arm/mach-s5pv210/mach-herring.c +++ b/arch/arm/mach-s5pv210/mach-herring.c @@ -3232,7 +3232,7 @@ static int wlan_power_en(int onoff) gpio_set_value(GPIO_WLAN_nRST, GPIO_LEVEL_HIGH); s3c_gpio_slp_cfgpin(GPIO_WLAN_nRST, S3C_GPIO_SLP_OUT1); - msleep(25); + msleep(40); } else { gpio_set_value(GPIO_WLAN_nRST, GPIO_LEVEL_LOW); s3c_gpio_slp_cfgpin(GPIO_WLAN_nRST, S3C_GPIO_SLP_OUT0); -- cgit v1.1