From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path
Date: Tue, 15 Dec 2009 14:39:25 +0000 [thread overview]
Message-ID: <1260887965.3591.540.camel@odin> (raw)
In-Reply-To: <1260883801-22667-1-git-send-email-lars@metafoo.de>
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@metafoo.de>
> ---
> drivers/regulator/core.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Applied for 2.6.33.
Thanks
Liam
prev parent reply other threads:[~2009-12-15 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 13:30 [PATCH] regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path Lars-Peter Clausen
2009-12-15 13:41 ` Mark Brown
2009-12-15 14:39 ` Liam Girdwood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1260887965.3591.540.camel@odin \
--to=lrg@slimlogic.co.uk \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox