]> git.baikalelectronics.ru Git - kernel.git/commit
iio: magnetometer: mmc35240: fix SET/RESET sequence
authorViorel Suman <viorel.suman@intel.com>
Tue, 14 Jul 2015 14:56:54 +0000 (17:56 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 10:54:29 +0000 (11:54 +0100)
commit6055d3cc53201d90c1fe808bd87acaf629e477b1
treeda579072fe47fb089a1cbd019e7f2887197f270c
parent654a1749782f2bd4b3091babc9bfeb6136c038c8
iio: magnetometer: mmc35240: fix SET/RESET sequence

The RESET operation invoked in the last instance will align
in the natural way all 3 axis and the chip top view.

Without this, north and south are swapped.

Signed-off-by: Viorel Suman <viorel.suman@intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mmc35240.c