[PATCH 1/1] regulator/fixed: set constraints.apply_uV to 0

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Dec 30 05:30:27 EST 2011


On Fri, Dec 30, 2011 at 02:06:53PM +0800, Richard Zhao wrote:
> From: Richard Zhao <richard.zhao at freescale.com>
> 
> Fix fixed regulator failed to call regulator_register.
> 
> Fixed regulator does not support set voltage operation, so we
> don't need apply_uV.

No, the regulator drivers shouldn't be fiddling around with their
constraints.  Generally the answer is that users shouldn't set
constraints that won't work, or perhaps the API needs to be more
forgiving.



More information about the linux-arm-kernel mailing list