[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1260887965.3591.540.camel@odin>
Date: Tue, 15 Dec 2009 14:39:25 +0000
From: Liam Girdwood <lrg@...mlogic.co.uk>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: Fix unbalanced disables/enables in
regulator_bulk_{enable,disable} error path
On Tue, 2009-12-15 at 14:30 +0100, Lars-Peter Clausen wrote:
> Currently it is possible for regulator_bulk_{enable,disable} operations to
> generate unbalanced regulator_{disable,enable} calls in its error path.
> In case of an error only those regulators of the bulk operation which actually
> had been enabled/disabled should get their original state restored.
>
> Signed-off-by: Lars-Peter Clausen <lars@...afoo.de>
> ---
> drivers/regulator/core.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Applied for 2.6.33.
Thanks
Liam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists