* Deepak Saxena <[EMAIL PROTECTED]> [040210 15:04]:
> 
> Will add to my next patchset, but I have a question below:
> 
> > diff -Nru a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c
> > --- a/drivers/usb/host/ohci-omap.c  Tue Feb 10 14:22:10 2004
> > +++ b/drivers/usb/host/ohci-omap.c  Tue Feb 10 14:22:10 2004
> > @@ -495,8 +495,8 @@
> >     int             ret;
> >  
> >     if (hcd->dev) {
> 
> I don't understand why we need this if statement. I see the same
> in ohci-sa1111.c. I haven't completely groked the whole USB layer,
> but how whould hcd->dev ever be NULL? I thought each hcd/usb_bus
> must have a device associated with it.

Don't ask me, I just copied it from sa1111 :) Works fine without it though.
But I guess I just don't know how to reproduce the hcd->dev == NULL...

Regards,

Tony


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to