summaryrefslogtreecommitdiffstats
path: root/net/dcb
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-11-11 19:00:52 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-11-18 14:56:16 +0100
commit8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b (patch)
treeaf77279c42d3c1e9e21676b1d28ca8ec1c043c73 /net/dcb
parentds2760_battery: Fix calculation of time_to_empty_now (diff)
downloadlinux-8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b.tar.xz
linux-8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b.zip
jz4740-battery: Protect against concurrent battery readings
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>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions