diff options
author | Dan Williams <dcbw@redhat.com> | 2010-04-15 16:32:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:32:01 -0400 |
commit | ac1a474d71d6cbf94bf26889da5768f5f2b0ca2b (patch) | |
tree | 0dbe7b7becf550e7449c7b8da789177ded74c926 /drivers/net/wireless/libertas | |
parent | 96021f096e5178582af296a2fbb6df7dbd6b695c (diff) |
libertas: Davinci platforms need more time loading helper firmware
Davinci platforms apparently need more time in-between helper firmware
blocks. Even though this is an increased delay, we only take this hit
once at initialization time.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/if_sdio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c index 60dc9b64381d..68cc407054e3 100644 --- a/drivers/net/wireless/libertas/if_sdio.c +++ b/drivers/net/wireless/libertas/if_sdio.c | |||
@@ -499,6 +499,11 @@ static int if_sdio_prog_helper(struct if_sdio_card *card) | |||
499 | if (ret) | 499 | if (ret) |
500 | goto release; | 500 | goto release; |
501 | 501 | ||
502 | /* On some platforms (like Davinci) the chip needs more time | ||
503 | * between helper blocks. | ||
504 | */ | ||
505 | mdelay(2); | ||
506 | |||
502 | chunk_size = min(size, (size_t)60); | 507 | chunk_size = min(size, (size_t)60); |
503 | 508 | ||
504 | *((__le32*)chunk_buffer) = cpu_to_le32(chunk_size); | 509 | *((__le32*)chunk_buffer) = cpu_to_le32(chunk_size); |