staging:iio:magnetometer:ak8975: set power-down mode after reading fuse ROM data
authorLeed Aguilar <leed.aguilar@ti.com>
Wed, 6 Jun 2012 20:14:56 +0000 (16:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:32:59 +0000 (14:32 +0900)
commit040f3e5833b9426aaeead6da8957a9b87f3ca9e8
tree57d17d19923c011385645b5e3cf0ec70f7c7599f
parent74dcd439bf8c16b01f9f5a9dffb2b171ed94e2e5
staging:iio:magnetometer:ak8975: set power-down mode after reading fuse ROM data

Fuse ROM data access mode is the only mode which does not
transition to power-down mode automatically.

As per the AK8975 data sheet, it is recomended to set the
power-down mode first before attempting to change into
another mode.

Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/ak8975.c