From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Subject: Re: [PATCH] mmc: sdio: reset card during power_restore Date: Fri, 10 Jun 2011 17:15:02 +0100 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-pw0-f46.google.com ([209.85.160.46]:48211 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324Ab1FJQPD (ORCPT ); Fri, 10 Jun 2011 12:15:03 -0400 Received: by pwi15 with SMTP id 15so1303153pwi.19 for ; Fri, 10 Jun 2011 09:15:02 -0700 (PDT) In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Ohad Ben-Cohen Cc: linux-mmc@vger.kernel.org On 10 June 2011 00:27, Ohad Ben-Cohen wrote: > 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. Done. Without bringing suspend/resume into the picture, this is working fine. Power is removed when the interface goes down, and is restored when the interface is brought up. ios values look fine at every stage. Wireless card works fine after several power cycles. Patches here: http://dev.laptop.org/~dsd/20110610/ The most relevant ones for this discussion are 6 and 7. What next? Daniel