diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2015-02-20 00:33:56 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-02-23 15:16:37 +0100 |
commit | b3f4737d00de317d1549d5cb5b1dad90e19f5cec (patch) | |
tree | 92cb55d8f19f340f2daf779336368cb3a34e8426 /drivers/rtc/rtc-starfire.c | |
parent | HID: hid-sensor-hub: Add support for application collection (diff) | |
download | linux-b3f4737d00de317d1549d5cb5b1dad90e19f5cec.tar.xz linux-b3f4737d00de317d1549d5cb5b1dad90e19f5cec.zip |
HID: hid-sensor-hub: Extend API for async reads
Add additional flag to read in async mode. In this mode the caller will get
reply via registered callback for capture_sample. Callbacks can be registered
using sensor_hub_register_callback function. The usage id parameter of the
capture_sample can be matched with the usage id of the requested attribute.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/rtc/rtc-starfire.c')
0 files changed, 0 insertions, 0 deletions