]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
net: wireless: bcm4335: increase delay to avoid cmdTimeout
authorOm Prakash Singh <omp@nvidia.com>
Mon, 29 Apr 2013 16:23:57 +0000 (21:53 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:12:46 +0000 (13:12 -0700)
increase delay before reading SBSDIO_FUNC1_SLEEPCSR
to wake sdio bus

Bug 1274359

Change-Id: I54c1bf199e2fe309d55ae52f0156c497b0c90144
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/223916
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
drivers/net/wireless/bcm4335/dhd_sdio.c

index 09dbcd350cfa55c335b2d366608dd52144efc16e..7bd14ef9d7a1a058291dd123ee26215f6c5500a2 100644 (file)
@@ -881,7 +881,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;
 
-               msleep(3);
+               usleep_range(5500, 6000);
        } else {
                /* Put device to sleep, turn off  KSO  */
                cmp_val = 0;