summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-09-24 16:28:52 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-24 16:28:52 -0700
commitb02691ec77f60b9928948823fcb6432bbcde6722 (patch)
tree0a44f8f40b6b0bc012dde01da5c5e10201f0a22b
parentf42f90cf63be584ce0e46de5e51dfab9347d22e9 (diff)
parent6ac59bec792215222260211a7f19f21dc614484c (diff)
downloaddevice_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.zip
device_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.tar.gz
device_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.tar.bz2
Merge "S5PC11X: SENSORS: Fix delays in AkmSensor" into gingerbread
-rw-r--r--libsensors/AkmSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/AkmSensor.cpp b/libsensors/AkmSensor.cpp
index 0968c26..8ae3583 100644
--- a/libsensors/AkmSensor.cpp
+++ b/libsensors/AkmSensor.cpp
@@ -194,7 +194,7 @@ int AkmSensor::update_delay()
wanted = wanted < ns ? wanted : ns;
}
}
- int64_t delay = int64_t(wanted) / 1000000;
+ int64_t delay = int64_t(wanted);
if (ioctl(dev_fd, ECS_IOCTL_APP_SET_DELAY, &delay)) {
return -errno;
}