Re: [PATCH 1/2] regulator: Allow boot_on regulators to be disabledby clients

From: Liam Girdwood
Date: Wed Mar 04 2009 - 06:41:18 EST


On Mon, 2009-03-02 at 16:32 +0000, Mark Brown wrote:
> Rather than incrementing the reference count for boot_on regulators
> (which prevents them being disabled later on) simply force the
> regulator to be enabled when applying the constraints. Previously
> boot_on was essentially equivalent to always_on.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/regulator/core.c | 13 ++++---------
> include/linux/regulator/machine.h | 4 +++-
> 2 files changed, 7 insertions(+), 10 deletions(-)

Applied.

Thanks

Liam

--
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/