Searched hist:e651a1da442ae02a50081e38309dea5e89da2d41 (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | hid-sensor-hub.h | diff e651a1da442ae02a50081e38309dea5e89da2d41 Fri Feb 20 00:31:25 CET 2015 Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> 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>
|
/linux/drivers/hid/ |
H A D | hid-sensor-hub.c | diff e651a1da442ae02a50081e38309dea5e89da2d41 Fri Feb 20 00:31:25 CET 2015 Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> 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>
|