On Mon, Nov 19, 2012 at 11:16:41AM +0100, Sascha Hauer wrote:
> > +
> > +   if (reg_vbus) {
> > +           if (enabled)
> > +                   regulator_enable(reg_vbus);
> > +           else
> > +                   regulator_disable(reg_vbus);
> 
> regulator_en|disable can fail, right?
Will change.
> 
> >  
> > +   ci = platform_get_drvdata(plat_ci);
> > +   /*
> > +    * Internal vbus on/off polics
> 
> You probably mean 'policy'
Will change, thanks.
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 

Best Regards,
Peter Chen

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to