From: Srinivas Pandruvada Date: Thu, 19 Feb 2015 23:33:56 +0000 (-0800) Subject: HID: hid-sensor-hub: Extend API for async reads X-Git-Tag: omap-for-v4.2/o2_dc~153^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f4737d00de317d1549d5cb5b1dad90e19f5cec;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed