Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:53578 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448AbcBFL7L (ORCPT ); Sat, 6 Feb 2016 06:59:11 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: brcmfmac: sdio: Increase the default timeouts a bit From: Kalle Valo In-Reply-To: <1453718849-3508-1-git-send-email-sjoerd.simons@collabora.co.uk> To: Sjoerd Simons Cc: Paul Stewart , Doug Anderson , linux-rockchip@lists.infradead.org, Arend van Spriel , Pieter-Paul Giesberts , brcm80211-dev-list@broadcom.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Hante Meuleman , Brett Rudley , netdev@vger.kernel.org, "Franky (Zhenhui) Lin" Message-Id: <20160206115910.E1D026029F@smtp.codeaurora.org> (sfid-20160206_125929_685293_B9A139D8) Date: Sat, 6 Feb 2016 11:59:10 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: > 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 > Reviewed-by: Julian Calaby > Acked-by: Arend van Spriel > Reviewed-by: Douglas Anderson Thanks, applied to wireless-drivers-next.git. Kalle Valo