|
@@ -1676,13 +1676,6 @@ static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
|
|
|
switch (wValue) {
|
|
|
case USB_PORT_FEAT_SUSPEND:
|
|
|
_DBG(0, "USB_PORT_FEAT_SUSPEND\n");
|
|
|
-#ifdef CONFIG_USB_OTG
|
|
|
- if (ohci->hcd.self.otg_port == (wIndex + 1) &&
|
|
|
- ohci->hcd.self.b_hnp_enable) {
|
|
|
- start_hnp(ohci);
|
|
|
- break;
|
|
|
- }
|
|
|
-#endif
|
|
|
spin_lock_irqsave(&isp1362_hcd->lock, flags);
|
|
|
isp1362_write_reg32(isp1362_hcd, HCRHPORT1 + wIndex, RH_PS_PSS);
|
|
|
isp1362_hcd->rhport[wIndex] =
|