diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2015-03-22 17:37:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-24 13:47:12 +0100 |
commit | c8eedbd107cc73d6dfb5f8df2307c43cf27b0107 (patch) | |
tree | 01c490ba437d3403f6d9b4cdd643e456a5b77388 | |
parent | b5e79e6ea6d21c342a94dda9f5d91a3e8d882e56 (diff) | |
download | op-kernel-dev-c8eedbd107cc73d6dfb5f8df2307c43cf27b0107.zip op-kernel-dev-c8eedbd107cc73d6dfb5f8df2307c43cf27b0107.tar.gz |
staging: octeon-usb: don't poll interrupts early
Don't poll interrupts before we have registered the HCD.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/octeon-usb/octeon-hcd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 8a185ff..1f501ff 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c @@ -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); |