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

Commit c8eedbd1 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman
Browse files

staging: octeon-usb: don't poll interrupts early



Don't poll interrupts before we have registered the HCD.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b5e79e6e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -3712,10 +3712,6 @@ static int octeon_usb_probe(struct platform_device *pdev)
	/* This delay is needed for CN3010, but I don't know why... */
	mdelay(10);

	spin_lock_irqsave(&priv->lock, flags);
	cvmx_usb_poll(&priv->usb);
	spin_unlock_irqrestore(&priv->lock, flags);

	status = usb_add_hcd(hcd, irq, 0);
	if (status) {
		dev_dbg(dev, "USB add HCD failed with %d\n", status);