Skip to content

Commit

Permalink
libertas: Davinci platforms need more time loading helper firmware
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Williams authored and John W. Linville committed Apr 16, 2010
1 parent 96021f0 commit ac1a474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/libertas/if_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,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);
Expand Down

0 comments on commit ac1a474

Please sign in to comment.