diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2010-03-21 02:44:34 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 09:11:20 -0400 |
commit | e0780db9f8ccf2dbca3161dc153bbf54b53cb6af (patch) | |
tree | cec5e975fc3a405314e30535535b09082038d22d /drivers | |
parent | 2abd4f1a439718206e832d7a83b77c88c15a6847 (diff) |
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')
-rw-r--r-- | drivers/mmc/host/cb710-mmc.c | 1 |
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) | |||
743 | err_free_mmc: | 743 | err_free_mmc: |
744 | dev_dbg(cb710_slot_dev(slot), "mmc_add_host() failed: %d\n", err); | 744 | dev_dbg(cb710_slot_dev(slot), "mmc_add_host() failed: %d\n", err); |
745 | 745 | ||
746 | cb710_set_irq_handler(slot, NULL); | ||
746 | mmc_free_host(mmc); | 747 | mmc_free_host(mmc); |
747 | return err; | 748 | return err; |
748 | } | 749 | } |