On 31 May 2013 19:37, Alan Stern <st...@rowland.harvard.edu> wrote:

> On Fri, 31 May 2013 manjunath.gou...@linaro.org wrote:
>
> > From: Manjunath Goudar <manjunath.gou...@linaro.org>
> >
> > This patch splits the ohci-platform code from ohci-hcd out
> > into its own separate driver module.This work is part of enabling
> > multi-platform kernels on ARM.
> >
> > In V2:
> >   -Passed "hcd" argment instead of "ohci" in ohci_setup() because it is
> >    using "struct usb_hcd" argment.
>
> > @@ -30,58 +42,17 @@ static int ohci_platform_reset(struct usb_hcd *hcd)
>
> ...
>
> > +     return ohci_setup(ohci_to_hcd(ohci));
>
> You don't need to use ohci_to_hcd(), because the hcd value is already a
> parameter in this function.
>
>
After setting ohci's flag and  num_ports,we need to convert ohci to hcd
that is what called ohci_to_hcd() function.

Manjunath

Alan Stern
>
>
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to