diff mbox

[2/2] libertas: Davinci platforms need more time loading helper firmware

Message ID 1271363578.10765.8.camel@localhost.localdomain (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Dan Williams April 15, 2010, 8:32 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c
index dcd14da..2e71dae 100644
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -497,6 +497,11 @@  static int if_sdio_prog_helper(struct if_sdio_card *card)
 		if (ret)
 			goto release;
 
+		/* On some platforms (like Davinci) the chip needs more time
+		 * between helper blocks.
+		 */
+		mdelay(2);
+
 		chunk_size = min(size, (size_t)60);
 
 		*((__le32*)chunk_buffer) = cpu_to_le32(chunk_size);