Skip to contentSkip to conversation

ARM: OMAP: Fix mmc driver no_switch error path

PATCH In review Komal Shah 2 participants 2 messages Sep 4, 2006 – Sep 5, 2006

lore
Share & tools
lore

Komal Shah

author
#0 lore raw

PATCH 1/1 ARM: OMAP: Fix mmc driver no_switch error path

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

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

Signature · 2 lines
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html
#1 lore raw
Quoted 43 lines · Komal Shah

Tony,

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

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

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


From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <[email protected]>
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 <[email protected]>

---

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

35eb9be4d20ac2e274a0a4b685db94b1b5b3d908
drivers/mmc/omap.c +2 -1
index 0f1f99b..ae08a37 100644
@@ -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))
Signature · 1 line
1.3.3

Thanks, pushing today.

Tony