On Thu, Jun 21, 2012 at 09:18:22AM +0200, Marc Kleine-Budde wrote: > On 06/21/2012 08:41 AM, Richard Zhao wrote: > > Sometimes, the driver bindings may know what phy they use. > > For example, when using device tree, the usb controller may have a > > phandler pointing to usb phy. > > > > Signed-off-by: Richard Zhao <[email protected]> > > Reviewed-by: Marek Vasut <[email protected]> > > Acked-by: Felipe Balbi <[email protected]> > > Tested-by: Subodh Nijsure <[email protected]> > > [...] > > > --- a/drivers/usb/chipidea/udc.c > > +++ b/drivers/usb/chipidea/udc.c > > @@ -1684,7 +1684,8 @@ static int udc_start(struct ci13xxx *ci) > > > > ci->gadget.ep0 = &ci->ep0in->ep; > > > > - ci->transceiver = usb_get_transceiver(); > > + if (ci->global_phy) { > ^^^ > > This doesn't compile, closing curly brackets are missing. > Nice catch.
Thanks Richard _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
