Re: [PATCH] regulator: Fix machine constraints apply for min_uV !=max_uV

From: Mark Brown
Date: Fri Sep 03 2010 - 10:54:26 EST


On Fri, Sep 03, 2010 at 04:43:49PM +0300, Jarkko Nikula wrote:
> Constraints are not applied until both min_uV and max_uV are the same. This
> looks like a typo in the test.
>
> Signed-off-by: Jarkko Nikula <jhnikula@xxxxxxxxx>

This is deliberate behaviour, apply_uV can only be used with a fixed
voltage at startup in order to avoid issues with handover from the
bootloader if we suddenly drop the supply voltage on a device which has
not yet been claimed by a driver. The expectation is that if the
voltage can vary then something that understands the hardware state
needs to be involved in maintaining the voltage.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/