iio: magn: ak8975: allow a delay after enabling regulators
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Jun 2016 12:08:36 +0000 (14:08 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 30 Jun 2016 19:40:04 +0000 (20:40 +0100)
commitb1037c1a498f9bb3b5a81c2f243c605c190da754
treeccc36cf30cb674fec4a40d7261e89e6c9960c3eb
parent9e6c16d98987f6d5df8e59f61b20140d2f1bdcb4
iio: magn: ak8975: allow a delay after enabling regulators

The datasheet actually specifies that we need to wait atleast
500us after powering on the device before trying to set mode.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c