From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ohad Ben-Cohen Subject: Re: [PATCH] mmc: sdio: reset card during power_restore Date: Fri, 10 Jun 2011 02:27:24 +0300 Message-ID: References: <20110605123852.BC6F39D401C@zog.reactivated.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:38717 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715Ab1FIX1p (ORCPT ); Thu, 9 Jun 2011 19:27:45 -0400 Received: by wwa36 with SMTP id 36so2199325wwa.1 for ; Thu, 09 Jun 2011 16:27:44 -0700 (PDT) In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Daniel Drake Cc: linux-mmc@vger.kernel.org On Thu, Jun 9, 2011 at 10:55 PM, Daniel Drake wrote: > On 9 June 2011 19:25, Ohad Ben-Cohen wrote: >> let's update that patch. I'd send you an updated one, but I have to go >> for awhile, so here's the quick change you need to do. > > Unfortunately it doesn't help. That's ok. Let's go back to small steps now. We have cyclic rmmod/insmod working, and that's good: it means there's no hw issue. The next step to have working now is really the ifconfig up/down/up scenario. That should come before suspend/resume. And this step-by-step approach is even more relevant to libertas_sdio, because I suspect there's some if_sdio.c refactoring needed to get it right, but let's see. The expected result you want to get is: - boot, power is off - insmod, power is still off - ifconfig up, power is on - ifconfig down or rmmod, power is back off