Re: [PATCH] regulator: If we can't configure optimum mode we're alwaysin the best one

From: Liam Girdwood
Date: Mon May 16 2011 - 08:19:14 EST


On 14/05/11 19:19, Mark Brown wrote:
> If either a regulator driver can't tell us what the optimum mode is (or
> doesn't have modes in the first place) or the system doesn't allow DRMS
> changes then it's more helpful for users to just say that we're in the
> optimal mode, even if it's from a selection of one.
>
> Still report errors if the process of picking and setting a mode changes as
> this may indicate that we're stuck in a low power mode and unable to deliver
> a higher current that the consumer just asked for.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/regulator/core.c | 16 +++++++++++++---
> 1 files changed, 13 insertions(+), 3 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/