Re: [PATCH v2 7/7] usb: chipidea: imx: add internal vbus regulator control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux