Re: [PATCH RFT] regulator: pbias: Convert to use regmap helper functions

From: Mark Brown
Date: Sun Mar 09 2014 - 04:46:45 EST


On Fri, Mar 07, 2014 at 11:57:03PM +0800, Axel Lin wrote:
> 2014-03-07 23:25 GMT+08:00 Balaji T K <balajitk@xxxxxx>:

> > The intention was to set vmode to 0 for any voltage request lesser than
> > 1.8V.

> This statement sounds wrong to me.
> For example, If the request voltage range is 1.0V ~ 1.5V.
> We should return error rather than set the voltage to 1.8V (which may
> damage the device).

Yes, that's the expected behaviour - the selected voltage still needs to
be within spec.

Attachment: signature.asc
Description: Digital signature