summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-08 14:05:26 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-06 02:57:17 +0100
commitef7906f3204280ccaf8cd7ace974b7c0a1393812 (patch)
tree125e5f8240ae635a3ff5665f8ad488c170de2228 /sound/i2c
parentpower_supply: Assume mains power by default (diff)
downloadlinux-ef7906f3204280ccaf8cd7ace974b7c0a1393812.tar.xz
linux-ef7906f3204280ccaf8cd7ace974b7c0a1393812.zip
jz4740-battery: Fix signedness bug
wait_for_completion_interruptible_timeout() may return negative value. In this case, checking if (t > 0) will return true if t is unsigned. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions