summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMohan T <mohant@nvidia.com>2014-04-30 22:49:22 +0530
committerMandar Padmawar <mpadmawar@nvidia.com>2014-05-20 03:26:59 -0700
commit7f46c88e0777f4eb8d103f058fc5d1717a7f2104 (patch)
tree7045fbcef3af66b961de1342dfbed9ca75879334 /drivers/net
parent4bc4727d67bf7f36eca2e8b28167fe1de7bb9f5c (diff)
net: wireless: bcmdhd: Set KSO enable sleep to 5ms
The HW time requirements to wake up the BRCM chip is about 5ms. 3ms sleep time is too aggressive for wake up, due to which CMD CRC is observed. So change the sleep for KSO bit set from 3ms to 5ms. Bug 1456241 Change-Id: Ia20b173a7730cff2356e62eb57baddb09d24a784 Signed-off-by: Mohan T <mohant@nvidia.com> (cherry picked from commit 2c0bb76d454ee8bc53eb14c27d27a2f4b32067a3) Reviewed-on: http://git-master/r/405834 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/net')
-rwxr-xr-xdrivers/net/wireless/bcmdhd/dhd_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c
index f9de6efaca75..30c4c0c2668a 100755
--- a/drivers/net/wireless/bcmdhd/dhd_sdio.c
+++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c
@@ -829,7 +829,7 @@ dhdsdio_clk_kso_enab(dhd_bus_t *bus, bool on)
cmp_val = SBSDIO_FUNC1_SLEEPCSR_KSO_MASK | SBSDIO_FUNC1_SLEEPCSR_DEVON_MASK;
bmask = cmp_val;
- OSL_SLEEP(3);
+ OSL_SLEEP(5);
} else {
/* Put device to sleep, turn off KSO */
cmp_val = 0;