summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/cb710-mmc.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2010-03-21 07:44:34 +0100
committerChris Ball <cjb@laptop.org>2010-10-23 21:11:20 +0800
commite0780db9f8ccf2dbca3161dc153bbf54b53cb6af (patch)
treecec5e975fc3a405314e30535535b09082038d22d /drivers/mmc/host/cb710-mmc.c
parent2abd4f1a439718206e832d7a83b77c88c15a6847 (diff)
downloadlinux-e0780db9f8ccf2dbca3161dc153bbf54b53cb6af.tar.bz2
mmc: cb710: clear irq handler on init() error path
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/cb710-mmc.c')
-rw-r--r--drivers/mmc/host/cb710-mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c
index 5374b6b5a068..2299afc431e0 100644
--- a/drivers/mmc/host/cb710-mmc.c
+++ b/drivers/mmc/host/cb710-mmc.c
@@ -743,6 +743,7 @@ static int __devinit cb710_mmc_init(struct platform_device *pdev)
err_free_mmc:
dev_dbg(cb710_slot_dev(slot), "mmc_add_host() failed: %d\n", err);
+ cb710_set_irq_handler(slot, NULL);
mmc_free_host(mmc);
return err;
}