public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Purushotam Kumar <a0876542@india.ti.com>
Cc: linux-omap@vger.kernel.org, anantgole@ti.com
Subject: Re: [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card
Date: Mon, 23 Jun 2008 15:47:04 +0300	[thread overview]
Message-ID: <20080623124703.GW7741@atomide.com> (raw)
In-Reply-To: <200806161302.m5GD2Xg4007641@india.ti.com>

* Purushotam Kumar <a0876542@india.ti.com> [080616 16:03]:
> OMAP3:devices.c:Enabling 4-bit for SD card
> 
> SD card was working in 1-bit mode.This patch will configure SD card in 
> 4-bit mode and hence performance  will increase.
> 
> Signed-off-by: Purushotam Kumar <purushotam@ti.com>
> Acked-by: Madhusudhan Chikkature Rajashekar <madhu.cr@ti.com>
> ---
>  arch/arm/plat-omap/devices.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> Index: linux-omap-2.6/arch/arm/plat-omap/devices.c
> ===================================================================
> --- linux-omap-2.6.orig/arch/arm/plat-omap/devices.c
> +++ linux-omap-2.6/arch/arm/plat-omap/devices.c
> @@ -292,8 +292,10 @@ static void __init omap_init_mmc(void)
>  	mmc = &mmc_conf->mmc[0];
>  
>  	if (cpu_is_omap2430() || cpu_is_omap34xx()) {
> -		if (mmc->enabled)
> +		if (mmc->enabled) {
> +			mmc1_data.conf = *mmc;
>  			(void) platform_device_register(&mmc_omap_device1);
> +		}
>  
>  #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX)
>  		mmc = &mmc_conf->mmc[1];

I guess this should be also done for mmc2_data.conf?

Tony

  reply	other threads:[~2008-06-23 12:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 13:02 [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card Purushotam Kumar
2008-06-23 12:47 ` Tony Lindgren [this message]
2008-06-25 10:04   ` Kumar, Purushotam
2008-07-14 11:56     ` Kumar, Purushotam
2008-08-05  7:10       ` David Brownell
2008-08-11  5:14         ` Madhusudhan Chikkature

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080623124703.GW7741@atomide.com \
    --to=tony@atomide.com \
    --cc=a0876542@india.ti.com \
    --cc=anantgole@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox