All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Komal Shah" <komal_shah802003@yahoo.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix mmc driver no_switch error path
Date: Mon, 04 Sep 2006 17:46:49 +0530	[thread overview]
Message-ID: <1157372209.5446.270078515@webmail.messagingengine.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Tony,

This patch fixes no_switch error path in probe function of mmc driver.

---Komal Shah
http://komalshah.blogspot.com

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ARM-OMAP-Fix-mmc-driver-no_switch-error-path.patch --]
[-- Type: text/x-patch; name="0001-ARM-OMAP-Fix-mmc-driver-no_switch-error-path.patch", Size: 737 bytes --]

From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Mon, 4 Sep 2006 23:15:57 +0530
Subject: [PATCH] ARM: OMAP: Fix mmc driver no_switch error path.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>

---

 drivers/mmc/omap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

35eb9be4d20ac2e274a0a4b685db94b1b5b3d908
diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c
index 0f1f99b..ae08a37 100644
--- a/drivers/mmc/omap.c
+++ b/drivers/mmc/omap.c
@@ -1163,8 +1163,9 @@ static int __init mmc_omap_probe(struct 
 
 	mmc_add_host(mmc);
 
-no_switch:
 	return 0;
+
+no_switch:
 	/* FIXME: Free other resources too. */
 	if (host) {
 		if (host->iclk && !IS_ERR(host->iclk))
-- 
1.3.3


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2006-09-04 12:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 12:16 Komal Shah [this message]
2006-09-05 15:43 ` [PATCH] ARM: OMAP: Fix mmc driver no_switch error path tony

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=1157372209.5446.270078515@webmail.messagingengine.com \
    --to=komal_shah802003@yahoo.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.