Re: [PATCH] POWER: jz4740-battery: Protect against concurrentbattery readings

From: Anton Vorontsov
Date: Thu Nov 18 2010 - 08:59:14 EST


On Thu, Nov 11, 2010 at 07:00:52PM +0100, Lars-Peter Clausen wrote:
> We can not handle more then one ADC request at a time to the battery. The patch
> adds a mutex around the ADC read code to ensure this.
>
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxx
> ---
> drivers/power/jz4740-battery.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
> ---
> This patch should also go into the 2.6.36.x stable tree

Applied, thanks!

--
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/bd2
--
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/