OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for using a hrtimer trigger.
[android-x86/hardware-intel-libsensors.git]
/
description.c
diff --git
a/description.c
b/description.c
index
d2a5874
..
8685298
100644
(file)
--- a/
description.c
+++ b/
description.c
@@
-397,6
+397,9
@@
uint32_t sensor_get_quirks (int s)
if (strstr(quirks_buf, "no-poll"))
sensor[s].quirks |= QUIRK_NO_POLL_MODE;
+ if (strstr(quirks_buf, "hrtimer"))
+ sensor[s].quirks |= QUIRK_HRTIMER;
+
sensor[s].quirks |= QUIRK_ALREADY_DECODED;
}