aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decompress_bunzip2.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-11-18 23:08:38 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-12-22 02:39:45 +0300
commit26eb387265872b59566ddeed5e9bf142a6b9ff5b (patch)
tree7c1131870916aaf5cebb2d5e5d60c998de4844ba /lib/decompress_bunzip2.c
parent80577b8a478f3386d106464f2a2241b2d43571ce (diff)
downloadkernel_samsung_smdk4412-26eb387265872b59566ddeed5e9bf142a6b9ff5b.zip
kernel_samsung_smdk4412-26eb387265872b59566ddeed5e9bf142a6b9ff5b.tar.gz
kernel_samsung_smdk4412-26eb387265872b59566ddeed5e9bf142a6b9ff5b.tar.bz2
gpio-charger: Fix potential race between irq handler and probe/remove
This patch fixes a potential race between the irq handler and the probe and remove functions. The irq should not be requested before the chargers power_supply has been registered and has to be freed before the power_supply is unregistered, otherwise it is possible that the irq fires while the power_supply is not initialized yet or has already been freed. While we are at it replace request_irq with request_any_context_irq. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'lib/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions