public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Purushotam Kumar <a0876542@india.ti.com>
To: linux-omap@vger.kernel.org
Cc: anantgole@ti.com
Subject: [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card
Date: Mon, 16 Jun 2008 18:32:33 +0530	[thread overview]
Message-ID: <200806161302.m5GD2Xg4007641@india.ti.com> (raw)

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];

             reply	other threads:[~2008-06-16 13:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 13:02 Purushotam Kumar [this message]
2008-06-23 12:47 ` [PATCH] OMAP3:devices.c: Enabling 4-bit for SD card Tony Lindgren
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=200806161302.m5GD2Xg4007641@india.ti.com \
    --to=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