All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Asynchronous attribute reads
@ 2015-01-07 18:47 ` Srinivas Pandruvada
  0 siblings, 0 replies; 27+ messages in thread
From: Srinivas Pandruvada @ 2015-01-07 18:47 UTC (permalink / raw)
  To: jkosina-AlSwsSmVLrQ, jic23-DgEjT+Ai2ygdnm+yROfE0A,
	a.zummo-BfzFCNDTiLLj+vYz1yj4TQ
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	linux-input-u79uwXL29TY76Z2rM5mHXA, holler-SXC+2es9fhnfWeYVQQPykw,
	rtc-linux-/JYPxA39Uh5TLH3MbocFFw, Srinivas Pandruvada

Patches related to asynchronous attribute reads. This series
enhances core and driver using this API.

Srinivas Pandruvada (9):
  HID: hid-sensor-hub: Extend API for async reads
  iio: hid-sensor-accel-3d: Adjust parameter for attribute read
  iio: hid-sensor-gyro-3d: Adjust parameter for attribute read
  iio: hid-sensor-als: Adjust parameter for attribute read
  iio: hid-sensor-prox: Adjust parameter for attribute read
  iio: hid-sensor-magn-3d: Adjust parameter for attribute read
  iio: hid-sensor-incl-3d: Adjust parameter for attribute read
  iio: hid-sensor-press: Adjust parameter for attribute read
  drivers/rtc/rtc-hid-sensor-time.c: Adjust parameter for attribute read

 drivers/hid/hid-sensor-hub.c                  | 15 ++++++++++++++-
 drivers/iio/accel/hid-sensor-accel-3d.c       |  3 ++-
 drivers/iio/gyro/hid-sensor-gyro-3d.c         |  3 ++-
 drivers/iio/light/hid-sensor-als.c            |  3 ++-
 drivers/iio/light/hid-sensor-prox.c           |  3 ++-
 drivers/iio/magnetometer/hid-sensor-magn-3d.c |  3 ++-
 drivers/iio/orientation/hid-sensor-incl-3d.c  |  3 ++-
 drivers/iio/pressure/hid-sensor-press.c       |  3 ++-
 drivers/rtc/rtc-hid-sensor-time.c             |  2 +-
 include/linux/hid-sensor-hub.h                | 19 +++++++++++++------
 10 files changed, 42 insertions(+), 15 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [PATCH] HID: hid-sensor-hub: Correct documentation
@ 2015-01-07  0:58 Srinivas Pandruvada
  2015-01-07  0:58 ` [PATCH 1/9] HID: hid-sensor-hub: Extend API for async reads Srinivas Pandruvada
  0 siblings, 1 reply; 27+ messages in thread
From: Srinivas Pandruvada @ 2015-01-07  0:58 UTC (permalink / raw)
  To: jkosina, jic23; +Cc: linux-iio, linux-input, Srinivas Pandruvada

During changes to the interface, some documentation field comments
were missed. Added missing comments.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 include/linux/hid-sensor-hub.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h
index 51f7cca..4173a8f 100644
--- a/include/linux/hid-sensor-hub.h
+++ b/include/linux/hid-sensor-hub.h
@@ -33,6 +33,8 @@
  * @units:		Measurment unit for this attribute.
  * @unit_expo:		Exponent used in the data.
  * @size:		Size in bytes for data size.
+ * @logical_minimum:	Logical minimum value for this attribute.
+ * @logical_maximum:	Logical maximum value for this attribute.
  */
 struct hid_sensor_hub_attribute_info {
 	u32 usage_id;
@@ -146,6 +148,7 @@ int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
 
 /**
 * sensor_hub_input_attr_get_raw_value() - Synchronous read request
+* @hsdev:	Hub device instance.
 * @usage_id:	Attribute usage id of parent physical device as per spec
 * @attr_usage_id:	Attribute usage id as per spec
 * @report_id:	Report id to look for
@@ -160,6 +163,7 @@ int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev,
 			u32 attr_usage_id, u32 report_id);
 /**
 * sensor_hub_set_feature() - Feature set request
+* @hsdev:	Hub device instance.
 * @report_id:	Report id to look for
 * @field_index:	Field index inside a report
 * @value:	Value to set
@@ -172,6 +176,7 @@ int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
 
 /**
 * sensor_hub_get_feature() - Feature get request
+* @hsdev:	Hub device instance.
 * @report_id:	Report id to look for
 * @field_index:	Field index inside a report
 * @value:	Place holder for return value
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-01-12 21:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 18:47 [PATCH 0/9] Asynchronous attribute reads Srinivas Pandruvada
2015-01-07 18:47 ` Srinivas Pandruvada
2015-01-07 18:47 ` [PATCH 2/9] iio: hid-sensor-accel-3d: Adjust parameter for attribute read Srinivas Pandruvada
     [not found]   ` <1420656483-7093-3-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-10 22:42     ` Jonathan Cameron
2015-01-10 22:42       ` Jonathan Cameron
2015-01-11 23:08       ` Srinivas Pandruvada
2015-01-11 23:24         ` Srinivas Pandruvada
     [not found]           ` <54B30610.3070907-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-12 21:24             ` Jonathan Cameron
2015-01-12 21:24               ` Jonathan Cameron
     [not found]               ` <54B43B70.4070501-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-01-12 21:33                 ` Srinivas Pandruvada
2015-01-12 21:33                   ` Srinivas Pandruvada
2015-01-07 18:47 ` [PATCH 3/9] iio: hid-sensor-gyro-3d: " Srinivas Pandruvada
2015-01-07 18:47 ` [PATCH 4/9] iio: hid-sensor-als: " Srinivas Pandruvada
     [not found] ` <1420656483-7093-1-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-07 18:47   ` [PATCH 1/9] HID: hid-sensor-hub: Extend API for async reads Srinivas Pandruvada
2015-01-07 18:47     ` Srinivas Pandruvada
     [not found]     ` <1420656483-7093-2-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-10 22:43       ` Jonathan Cameron
2015-01-10 22:43         ` Jonathan Cameron
2015-01-07 18:47   ` [PATCH 5/9] iio: hid-sensor-prox: Adjust parameter for attribute read Srinivas Pandruvada
2015-01-07 18:47     ` Srinivas Pandruvada
2015-01-07 18:48   ` [PATCH 6/9] iio: hid-sensor-magn-3d: " Srinivas Pandruvada
2015-01-07 18:48     ` Srinivas Pandruvada
2015-01-07 18:48   ` [PATCH 8/9] iio: hid-sensor-press: " Srinivas Pandruvada
2015-01-07 18:48     ` Srinivas Pandruvada
2015-01-07 18:48   ` [PATCH 9/9] drivers/rtc/rtc-hid-sensor-time.c: " Srinivas Pandruvada
2015-01-07 18:48     ` Srinivas Pandruvada
2015-01-07 18:48 ` [PATCH 7/9] iio: hid-sensor-incl-3d: " Srinivas Pandruvada
  -- strict thread matches above, loose matches on Subject: below --
2015-01-07  0:58 [PATCH] HID: hid-sensor-hub: Correct documentation Srinivas Pandruvada
2015-01-07  0:58 ` [PATCH 1/9] HID: hid-sensor-hub: Extend API for async reads Srinivas Pandruvada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.