iio:ak8975 Implement data ready interrupt handling
authorJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 7 May 2013 10:41:00 +0000 (11:41 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 22 May 2013 21:16:49 +0000 (22:16 +0100)
commit94a6d5cf7caa5003e3b4d0c61a047329f26092f3
tree14fae3f2f65c06d246a870b20cf6c27f8dce0ac5
parentf4b7f751c6fd2bd7e6d3a83385ee292c39995bdb
iio:ak8975 Implement data ready interrupt handling

Implement "data ready" interrupt handling in addition to the
two existing read modes - DRDY GPIO polling and ST1 register
DRDY bit polling.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c