From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [EXTERNAL] Re: [PATCH] wlcore: Fix bringing up wlan0 again if powered down briefly Date: Sun, 23 Dec 2018 08:02:26 -0800 Message-ID: <20181223160226.GK6707@atomide.com> References: <20181217164207.20081-1-tony@atomide.com> <20181218155439.GB6707@atomide.com> <20181220231401.GG6707@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Reizer, Eyal" Cc: Ulf Hansson , Kalle Valo , KISHON VIJAY ABRAHAM , "Mishol, Guy" , "linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-omap , Anders Roxell , John Stultz , Ricardo Salveti List-Id: linux-omap@vger.kernel.org Hi, * Reizer, Eyal [181223 07:38]: > You are ok as long as the wlan_enable pin Does go down for a sufficient amount of time > turning the wl18xx device off. > The firmware can only be downloaded once after power on. > In between down/up you have to make sure the wlan_enable is fully going through on->off->on > and the wl18xx device is fully reset. > On power on the firmware is loaded by the driver and this will fail in case the reset didn't happen OK thanks for confirming that it's the enable pin that needs to toggle. Sounds like I need to get the wlcore pwrseq changes done and posted as the long term solution. And for a short term fix, we should just add msleep(50) for now with updated patch description. Does that that sound OK to everybody? Regards, Tony