On Wed, 4 Aug 2010, Alan Cox wrote: > From: Hao Wu <hao.wu@xxxxxxxxx> No patch description? > Signed-off-by: Alek Du <alek.du@xxxxxxxxx> > Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx> > --- > > drivers/usb/host/isp1362-hcd.c | 3 > drivers/usb/otg/Kconfig | 14 > drivers/usb/otg/Makefile | 1 > drivers/usb/otg/langwell_otg.c | 1965 ++++++++++++++++++++++++++++++++++++++ > include/linux/usb/langwell_otg.h | 178 +++ > 5 files changed, 2161 insertions(+), 0 deletions(-) > create mode 100644 drivers/usb/otg/langwell_otg.c > create mode 100644 include/linux/usb/langwell_otg.h > > > diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c > index 0587ad4..cd009b3 100644 > --- a/drivers/usb/host/isp1362-hcd.c > +++ b/drivers/usb/host/isp1362-hcd.c > @@ -1676,6 +1676,8 @@ 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"); > +#if 0 > + /* Thre is no OHCI var - presumably this has never been tested ? */ > #ifdef CONFIG_USB_OTG > if (ohci->hcd.self.otg_port == (wIndex + 1) && > ohci->hcd.self.b_hnp_enable) { > @@ -1683,6 +1685,7 @@ static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, > break; > } > #endif > +#endif > spin_lock_irqsave(&isp1362_hcd->lock, flags); > isp1362_write_reg32(isp1362_hcd, HCRHPORT1 + wIndex, RH_PS_PSS); > isp1362_hcd->rhport[wIndex] = Where did this hunk come from? It doesn't seem to have anything to do with $SUBJECT. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html