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

Commit 1c4d0b4e authored by Tony Lindgren's avatar Tony Lindgren Committed by Greg Kroah-Hartman
Browse files

usb: musb: Remove pm_runtime_set_irq_safe



With the pull up being handled with delayed work, we can
now finally remove pm_runtime_set_irq_safe that blocks the
MUSB glue from idling.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87326e85
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -2223,12 +2223,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
	pm_runtime_mark_last_busy(musb->controller);
	pm_runtime_mark_last_busy(musb->controller);
	pm_runtime_put_autosuspend(musb->controller);
	pm_runtime_put_autosuspend(musb->controller);


	/*
	 * For why this is currently needed, see commit 3e43a0725637
	 * ("usb: musb: core: add pm_runtime_irq_safe()")
	 */
	pm_runtime_irq_safe(musb->controller);

	return 0;
	return 0;


fail5:
fail5: