staging:iio:hmc5843: Always read all channels values otherwise no updates
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 16 Oct 2013 22:19:00 +0000 (23:19 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 17 Oct 2013 22:46:43 +0000 (23:46 +0100)
commit39c18828829ddd8acc5885e6568ee2fdb9ec5dc9
treea5f1755a41a41abf41287924d81aca0edfbdebde
parent9a3b2d5e0c03f0f22c518895e6e7986be52dfba4
staging:iio:hmc5843: Always read all channels values otherwise no updates

v2:
* use __be16 instead of s16

Split out data ready/wait for read measurement
fix bug in case reading status register fails

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843.c