wimax/iwmc3200: increase wait time before enable retry
authorCindy H Kao <evans@localhost.localdomain>
Tue, 18 Aug 2009 02:39:12 +0000 (19:39 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:43 +0000 (15:55 +0900)
When trying to enable the iwmc3200 WiMAX SDIO function, we loop
waiting for the top controller to be up and running (at which point we
can succesfully enable the function). Between each try we wait for
I2400MS_INIT_SLEEP_INTERVAL ms.

Integration tests have found the current value of 10ms to be too
short; it was upped to 100ms to give more time to the top controller
to be ready.

Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/i2400m-sdio.h

index cfaedfa37892bdddd94aeb827031bbb4489168f5..18218a24a8f869bc30781d26b226ee759f65b913 100644 (file)
@@ -78,7 +78,7 @@ enum {
        I2400MS_INTR_GET_SIZE_ADDR = 0x2C,
        /* The number of ticks to wait for the device to signal that
         * it is ready */
-       I2400MS_INIT_SLEEP_INTERVAL = 10,
+       I2400MS_INIT_SLEEP_INTERVAL = 100,
        /* How long to wait for the device to settle after reset */
        I2400MS_SETTLE_TIME = 40,
        /* The number of msec to wait for IOR after sending IOE */