iio: dht11: Add locking
authorRichard Weinberger <richard@nod.at>
Wed, 7 Jan 2015 12:18:23 +0000 (13:18 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 Jan 2015 11:14:53 +0000 (11:14 +0000)
commit004bc530341a40536494431cf665504f8ee70266
tree86dd7876e723b9d58772b893bd09294833c2e938
parentddc25bdd2b7f34667111714fafc9c04f6ad97fee
iio: dht11: Add locking

Make sure that the read function is not interrupted...

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Harald Geyer <harald@ccbib.org>
Reviewed-by: Sanjeev Sharma <sanjeev_sharma@mentor.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/dht11.c