OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
eb4520a
)
Pass iio provided timestamps without further processing.
author
Adriana Reus
<adriana.reus@intel.com>
Thu, 5 Feb 2015 15:40:17 +0000
(17:40 +0200)
committer
Adriana Reus
<adriana.reus@intel.com>
Fri, 6 Feb 2015 15:11:28 +0000
(17:11 +0200)
Change-Id: Iebcca183362929fdd189eeb6ffe82b44edc90b9e
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
control.c
patch
|
blob
|
history
diff --git
a/control.c
b/control.c
index
018ebf2
..
dfd9292
100644
(file)
--- a/
control.c
+++ b/
control.c
@@
-1164,7
+1164,7
@@
static void stamp_reports (int dev_num, int64_t ts)
for (s=0; s<MAX_SENSORS; s++)
if (sensor[s].dev_num == dev_num && is_enabled(s) && sensor[s].mode != MODE_POLL)
- se
t_report_ts(s, ts)
;
+ se
nsor[s].report_ts = ts
;
}
@@
-1259,7
+1259,6
@@
static int integrate_device_report_from_dev(int dev_num, int fd)
boot_to_rt_delta = get_timestamp_boot() - get_timestamp_realtime();
stamp_reports(dev_num, ts + boot_to_rt_delta);
-
return 0;
}