w1_bq27000: Only one thread can access the bq27000 at a time.
authorNeilBrown <neilb@suse.de>
Sun, 19 Feb 2012 02:10:00 +0000 (13:10 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 22:25:50 +0000 (14:25 -0800)
commitf6e8a1d7b4c4087e13913da43deb45b3e3413f29
tree412aeb428f3cf9a9817e000031920481a20a8f40
parentdf7019f37053bb5357907ec2d1fd516304f38348
w1_bq27000: Only one thread can access the bq27000 at a time.

If multiple threads try, they trip over each other badly.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_bq27000.c