]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal
authorClifton Barnes <cabarnes@indesign-llc.com>
Wed, 5 Oct 2011 00:44:01 +0000 (11:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:07:11 +0000 (17:07 +1100)
commit7ca4b89df7cee455067f0ad70705690a95c79b4f
treef3c58bc68cb426b36962020fa7428eba48be3397
parentb9d43ff6dfe5d9cbbbfda2c8182cd06aba02cf20
drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal

Fixes the deadlock when inserting and removing the ds2780.

Signed-off-by: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/ds2780_battery.c