iio: dht11: IRQ fixes
authorRichard Weinberger <richard@nod.at>
Wed, 7 Jan 2015 12:22:49 +0000 (13:22 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 Jan 2015 11:16:32 +0000 (11:16 +0000)
commit94e65519abde01cbffb9c538a4598f6a50bc86d1
tree6ef7dfd558f974ce53b734df3833cdb58292859e
parent004bc530341a40536494431cf665504f8ee70266
iio: dht11: IRQ fixes

Since setting irq-enabled GPIOs into output state is not supported
by all GPIO controllers, we need to disable the irq while requesting
sensor data. As side effect we lose a tiny bit of functionality:
Some wiring problems can't be concluded from log messages anymore.

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