Return-path: Received: from mail-wm0-f45.google.com ([74.125.82.45]:36040 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbcAZG3w (ORCPT ); Tue, 26 Jan 2016 01:29:52 -0500 Subject: Re: [PATCH] brcmfmac: sdio: Increase the default timeouts a bit To: Julian Calaby References: <1453718849-3508-1-git-send-email-sjoerd.simons@collabora.co.uk> <56A641CC.6020500@gmail.com> Cc: Sjoerd Simons , Kalle Valo , Paul Stewart , Doug Anderson , linux-rockchip@lists.infradead.org, Arend van Spriel , Pieter-Paul Giesberts , brcm80211-dev-list@broadcom.com, linux-wireless , "linux-kernel@vger.kernel.org" , Hante Meuleman , Brett Rudley , netdev , "Franky (Zhenhui) Lin" From: Arend van Spriel Message-ID: <56A71262.8000804@gmail.com> (sfid-20160126_073016_284204_C8199286) Date: Tue, 26 Jan 2016 07:29:54 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 26-01-16 00:41, Julian Calaby wrote: > Hi Arend, > > On Tue, Jan 26, 2016 at 2:39 AM, Arend van Spriel wrote: >> On 25-01-16 12:06, Julian Calaby wrote: >>> Hi Sjoerd, >>> >>> On Mon, Jan 25, 2016 at 9:47 PM, Sjoerd Simons >>> wrote: >>>> 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 >>> >>> Looks sane to me. >>> >>> Reviewed-by: Julian Calaby >> >> Not really a cleanup patch :-p , but thanks for the review. > > I'm trying to review any "small" patch from (relatively) new people. And it is surely appreciated. Just read your reply in "cleanup patch pile" thread and felt I had to make the stupid remark with just fun intended. Regards, Arend