public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix mmc driver no_switch error path
@ 2006-09-04 12:16 Komal Shah
  2006-09-05 15:43 ` tony
  0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-09-04 12:16 UTC (permalink / raw)
  To: linux-omap-open-source

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: Fix mmc driver no_switch error path
  2006-09-04 12:16 [PATCH] ARM: OMAP: Fix mmc driver no_switch error path Komal Shah
@ 2006-09-05 15:43 ` tony
  0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2006-09-05 15:43 UTC (permalink / raw)
  To: Komal Shah; +Cc: linux-omap-open-source

* Komal Shah <komal_shah802003@yahoo.com> [060904 15:17]:
> 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
> 

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

Thanks, pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-05 15:43 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:16 [PATCH] ARM: OMAP: Fix mmc driver no_switch error path Komal Shah
2006-09-05 15:43 ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox