提交 ac1a474d 编写于 作者: D Dan Williams 提交者: John W. Linville

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: NDan Williams <dcbw@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 96021f09
...@@ -499,6 +499,11 @@ static int if_sdio_prog_helper(struct if_sdio_card *card) ...@@ -499,6 +499,11 @@ static int if_sdio_prog_helper(struct if_sdio_card *card)
if (ret) if (ret)
goto release; goto release;
/* On some platforms (like Davinci) the chip needs more time
* between helper blocks.
*/
mdelay(2);
chunk_size = min(size, (size_t)60); chunk_size = min(size, (size_t)60);
*((__le32*)chunk_buffer) = cpu_to_le32(chunk_size); *((__le32*)chunk_buffer) = cpu_to_le32(chunk_size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册