diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2015-02-19 23:31:25 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-02-23 14:11:38 (GMT) |
commit | e651a1da442ae02a50081e38309dea5e89da2d41 (patch) | |
tree | d4871274ef43f665a473a2a076b4c43343b5465b /drivers/soc/Makefile | |
parent | 870fd0f5df4e131467612cc46db46fc3b69fd706 (diff) | |
download | linux-e651a1da442ae02a50081e38309dea5e89da2d41.tar.xz |
HID: hid-sensor-hub: Allow parallel synchronous reads
Current implementation only allows one outstanding synchronous read.
This is a performance hit when user mode is requesting raw reads
of sensor attributes on multiple sensors together.
This change changes the mutex lock to per hid sensor hub device instead
of global lock. Although request to hid sensor hub is serialized, there
can be multiple outstanding read requests pending for responses via
hid reports.
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/soc/Makefile')
0 files changed, 0 insertions, 0 deletions