git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86af950
)
jz4740-battery: Protect against concurrent battery readings
author
Lars-Peter Clausen
<lars@metafoo.de>
Thu, 11 Nov 2010 18:00:52 +0000
(19:00 +0100)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Thu, 18 Nov 2010 13:56:16 +0000
(16:56 +0300)
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@metafoo.de>
Cc: stable@kernel.org
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/jz4740-battery.c
patch
|
blob
|
history
diff --cc
drivers/power/jz4740-battery.c
Simple merge