Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / ohci-omap.c
index 989a90156f1739aec4a85d6aa40c2f969cce0bb7..de7c68602a7e907fb5227205895d2352f28bd714 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;