This fixes up the AK8975 so that it performs nicely on my APQ8060 Dragonboard which controls the power to it with a simple regulator which actually goes off and on and cuts the power between uses by using runtime PM's autosuspend feature. Works like a charm for me, but would be nice to see more people try it. Linus Walleij (5): iio: magn: ak8975: fix regulator usage iio: magn: ak8975: add Vid regulator iio: magn: ak8975: refactor regulator handlers iio: magn: ak8975: allow a delay after enabling regulators iio: magn: ak8975: deploy runtime PM drivers/iio/magnetometer/ak8975.c | 133 +++++++++++++++++++++++++++++++------- 1 file changed, 110 insertions(+), 23 deletions(-) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html