]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc96aa478735dedf32c48e6209f12d7e0de36a21
tree412aeb428f3cf9a9817e000031920481a20a8f40
parent8b41a56d6f4ec489a37b0d9d3fcba087b51f3e88
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