]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3269f5965bf42076602c36fd029782af5fa21b0
treeccc36cf30cb674fec4a40d7261e89e6c9960c3eb
parent601d24fcdd7fa56235d305bb63ad16bab63389dc
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