* [PATCH] ARM: OMAP: Fix no_switch error path
@ 2006-09-04 12:09 Komal Shah
2006-09-04 12:12 ` Komal Shah
0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-09-04 12:09 UTC (permalink / raw)
To: linux-omap-open-source
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
Tony,
Attached patch fixes no_switch error path.
---Komal Shah
http://komalshah.blogspot.com
--
http://www.fastmail.fm - Or how I learned to stop worrying and
love email again
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ARM-OMAP-Fix-no_switch-error-path.patch --]
[-- Type: text/x-patch; name="0001-ARM-OMAP-Fix-no_switch-error-path.patch", Size: 726 bytes --]
From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Mon, 4 Sep 2006 23:08:59 +0530
Subject: [PATCH] ARM: OMAP: Fix 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(-)
0f7edb0721765c1318fb9e61ba33f88deeaef124
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 --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-04 12:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 12:09 [PATCH] ARM: OMAP: Fix no_switch error path Komal Shah
2006-09-04 12:12 ` Komal Shah
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.