mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
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>
This commit is contained in:
parent
2abd4f1a43
commit
e0780db9f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user