From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Subject: Re: MMC runtime PM patches break libertas probe Date: Sat, 6 Nov 2010 21:19:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-yw0-f46.google.com ([209.85.213.46]:50423 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753747Ab0KFVTv (ORCPT ); Sat, 6 Nov 2010 17:19:51 -0400 Received: by ywc21 with SMTP id 21so2765970ywc.19 for ; Sat, 06 Nov 2010 14:19:51 -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, Chris Ball On 1 November 2010 08:27, Ohad Ben-Cohen wrote: >> On such boards, the right thing to do would be to disable runtime PM altogether. > > The patch below (/attached) should trivially fix the problem - can you > please check it out ? Thanks. It solves the problem. But, what you point out is quite interesting. We currently have a (not-yet-upstream) rfkill driver for the XO-1.5, which we also put in place for power saving reasons. It operates by calling mmc_stop_host(). In light of your work, I guess that wasn't really turning off the card. So, it would be great if you could get runtime PM working on this combo, and then later we could make a real rfkill driver. I guess you have an XO-1.5 now. I'm happy to help you get started, I guess this is your first time working with an XO. Drop by irc.oftc.net #olpc-devel and I'll happily help you get started booting your own kernel etc. Thanks! Daniel