From patchwork Sat Jul 25 23:53:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Fleming X-Patchwork-Id: 37372 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6PNrwEc015136 for ; Sat, 25 Jul 2009 23:53:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752525AbZGYXxy (ORCPT ); Sat, 25 Jul 2009 19:53:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752531AbZGYXxy (ORCPT ); Sat, 25 Jul 2009 19:53:54 -0400 Received: from cs20.apochromatic.org ([204.152.189.161]:52710 "EHLO cs20.apochromatic.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752525AbZGYXxx (ORCPT ); Sat, 25 Jul 2009 19:53:53 -0400 Received: from localhost (localhost [127.0.0.1]) by cs20.apochromatic.org (Postfix) with ESMTP id 66E17AD6DE; Sat, 25 Jul 2009 16:53:53 -0700 (PDT) Date: Sun, 26 Jul 2009 00:53:29 +0100 From: Matt Fleming To: Adrian Hunter Cc: Pierre Ossman , Jarkko Lavinen , Denis Karpov , lkml , linux-omap Mailing List Subject: Re: [PATCH 32/32] ARM: OMAP: RX51: set MMC capabilities and power-saving flag Message-ID: <20090725235329.GE12665@console-pimps.org> References: <20090710124004.1262.10422.sendpatchset@ahunter-tower> <20090710124353.1262.22788.sendpatchset@ahunter-tower> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20090710124353.1262.22788.sendpatchset@ahunter-tower> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Fri, Jul 10, 2009 at 03:43:53PM +0300, Adrian Hunter wrote: > >From 3865867159f25cf706480236f6d4f0e4adde5dac Mon Sep 17 00:00:00 2001 > From: Adrian Hunter > Date: Fri, 10 Jul 2009 10:32:44 +0300 > Subject: [PATCH] ARM: OMAP: RX51: set MMC capabilities and power-saving flag > > Specify MMC capabilities and set the power-saving flag > for RX51. > After the changes to [PATCH 7/32], this becomes, --- ARM: OMAP: RX51: set MMC capabilities and power-saving flag Specify MMC capabilities and set the power-saving flag for RX51. Signed-off-by: Matt Fleming Cc: Adrian Hunter Cc: Ian Molton Cc: "Roberto A. Foglietta" Cc: Jarkko Lavinen Cc: Denis Karpov Cc: Pierre Ossman Cc: Andrew Morton --- arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 9a0bf67..d2ce938 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -102,6 +103,8 @@ static struct twl4030_hsmmc_info mmc[] = { .cover_only = true, .gpio_cd = 160, .gpio_wp = -EINVAL, + .power_saving = true, + .caps = MMC_CAP_SD, }, { .name = "internal", @@ -109,6 +112,8 @@ static struct twl4030_hsmmc_info mmc[] = { .wires = 8, .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, + .power_saving = true, + .caps = MMC_CAP_MMC | MMC_CAP_NONREMOVABLE, }, {} /* Terminator */ };