ARM: OMAP: Fix mmc driver no_switch error path
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
Quoted 43 lines · Komal Shah
Tony,
This patch fixes
no_switcherror path in probe function of mmc driver.---Komal Shah
http://komalshah.blogspot.comSignature · 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(-) 35eb9be4d20ac2e274a0a4b685db94b1b5b3d908drivers/mmc/omap.c +2
-1@@ -1163,8 +1163,9 @@ static int __init mmc_omap_probe(structmmc_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