Re: [PATCH] REGULATOR Handle positive returncode from enable

From: Liam Girdwood
Date: Wed Aug 26 2009 - 11:22:52 EST


On Wed, 2009-08-26 at 12:54 +0200, Linus Walleij wrote:
> This makes _regulator_enable() properly handle the case where
> a regulator is already on when you try to enable it. Currently
> it will erroneously handle positive return values as an error.
>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
> ---
> drivers/regulator/core.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 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/