diff options
| author | Michał Mirosław <[email protected]> | 2010-03-21 07:44:34 +0100 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2010-10-23 21:11:20 +0800 |
| commit | e0780db9f8ccf2dbca3161dc153bbf54b53cb6af (patch) | |
| tree | cec5e975fc3a405314e30535535b09082038d22d | |
| parent | 2abd4f1a439718206e832d7a83b77c88c15a6847 (diff) | |
mmc: cb710: clear irq handler on init() error path
Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
| -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) 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; } |