aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorw12.lee <w12.lee@samsung.com>2010-10-05 23:38:57 +0900
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:46:55 -0800
commit2b2756069589cfb794bc03f1631426df77fea28f (patch)
tree5da546fec68d42c9bc224c80e97edcff5fcacc47
parent6c03ce3dac4f584186d6107d46d6aaa502228bc4 (diff)
downloadkernel_samsung_crespo-2b2756069589cfb794bc03f1631426df77fea28f.zip
kernel_samsung_crespo-2b2756069589cfb794bc03f1631426df77fea28f.tar.gz
kernel_samsung_crespo-2b2756069589cfb794bc03f1631426df77fea28f.tar.bz2
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 <w12.lee@samsung.com>
-rw-r--r--arch/arm/mach-s5pv210/mach-herring.c2
1 files changed, 1 insertions, 1 deletions
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);