summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Balster <christian.balster@gmail.com>2015-05-18 18:22:00 +0200
committerforkbomb <keepcalm444@gmail.com>2015-11-25 08:33:51 +1100
commit4bbab1734128af4c80542e7b162a4a10e8737cc7 (patch)
tree07d95dd87dae9d5a7a8f8584080711ba1b407f79
parent948970715990bde9caf07377f928530848d19a36 (diff)
downloaddevice_samsung_i9300-4bbab1734128af4c80542e7b162a4a10e8737cc7.zip
device_samsung_i9300-4bbab1734128af4c80542e7b162a4a10e8737cc7.tar.gz
device_samsung_i9300-4bbab1734128af4c80542e7b162a4a10e8737cc7.tar.bz2
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
-rw-r--r--libsensors/akm8975.c2
1 files changed, 1 insertions, 1 deletions
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__);