]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/ohci-omap.c
usb: move the OTG state from the USB PHY to the OTG structure
[karo-tx-linux.git] / drivers / usb / host / ohci-omap.c
index 0231606d47c2fe9b00e4082a89594d0667815c8b..cf89b4b17f1417c20cc7da081490d568fffa609e 100644 (file)
@@ -183,7 +183,7 @@ static void start_hnp(struct ohci_hcd *ohci)
        otg_start_hnp(hcd->usb_phy->otg);
 
        local_irq_save(flags);
-       hcd->usb_phy->state = OTG_STATE_A_SUSPEND;
+       hcd->usb_phy->otg.state = OTG_STATE_A_SUSPEND;
        writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]);
        l = omap_readl(OTG_CTRL);
        l &= ~OTG_A_BUSREQ;