From 4bbab1734128af4c80542e7b162a4a10e8737cc7 Mon Sep 17 00:00:00 2001 From: Christian Balster Date: Mon, 18 May 2015 18:22:00 +0200 Subject: Revert "i9300: libsensors: fix compass orientation" This reverts commit 9f7182d0542f4c82b6fe4722b8b9389021ad6ae9. Let's not mess with the magnetometer sensitivity adjustments. The magnetometer orientations are correct as is. Change-Id: I218578088c43a27f4ff89d8c9e1671641725817a --- libsensors/akm8975.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsensors/akm8975.c b/libsensors/akm8975.c index ef84e93..420c790 100644 --- a/libsensors/akm8975.c +++ b/libsensors/akm8975.c @@ -288,7 +288,7 @@ int akm8975_init(struct smdk4x12_sensors_handlers *handlers, } i2c_data[0] = 3; - i2c_data[1] = AK8975_FUSE_ASAY; + i2c_data[1] = AK8975_FUSE_ASAX; rc = ioctl(device_fd, ECS_IOCTL_READ, &i2c_data); if (rc < 0) { ALOGE("%s: Unable to read akm8975 FUSE data", __func__); -- cgit v1.1