Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0780db9 authored by Michał Mirosław's avatar Michał Mirosław Committed by Chris Ball
Browse files

mmc: cb710: clear irq handler on init() error path

parent 2abd4f1a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}