Thread (12 messages) 12 messages, 6 authors, 2016-02-06

Re: brcmfmac: sdio: Increase the default timeouts a bit

From: Kalle Valo <hidden>
Date: 2016-02-06 11:59:13
Also in: linux-rockchip, lkml, netdev

On a Radxa Rock2 board with a Ampak AP6335 (Broadcom 4339 core) it seems
the card responds very quickly most of the time, unfortunately during
initialisation it sometimes seems to take just a bit over 2 seconds to
respond.

This results intialization failing with message like:
  brcmf_c_preinit_dcmds: Retreiving cur_etheraddr failed, -52
  brcmf_bus_start: failed: -52
  brcmf_sdio_firmware_callback: dongle is not responding

Increasing the timeout to allow for a bit more headroom allows the
card to initialize reliably.

A quick search online after diagnosing/fixing this showed that Google
has a similar patch in their ChromeOS tree, so this doesn't seem
specific to the board I'm using.

Signed-off-by: Sjoerd Simons <redacted>
Reviewed-by: Julian Calaby <redacted>
Acked-by: Arend van Spriel <redacted>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Thanks, applied to wireless-drivers-next.git.

Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help