aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas/if_sdio.c5
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);