RE: [PATCH 5/8] HID-Sensors: Added accelerometer 3D

From
Pandruvada, Srinivas <hidden>
Date
2012-07-05 15:32:42
Also in
linux-iio
Hi David,

It is a typo. There are three places in Kconfig Help, "3G" is typed instead of "3D". I will correct this.

Thanks,
Srinivas

-----Original Message-----
From: <redacted> [mailto:<redacted>] On Behalf Of David Herrmann
Sent: Wednesday, July 04, 2012 2:28 PM
To: Pandruvada, Srinivas
Cc: <redacted>; <redacted>; <redacted>; <redacted>; <redacted>
Subject: Re: [PATCH 5/8] HID-Sensors: Added accelerometer 3D

Hi Srinivas

On Wed, Jul 4, 2012 at 9:52 PM, srinivas pandruvada [off-list ref] wrote:
quoted hunk
Added usage id processing for Accelerometer 3D.This uses IIO 
interfaces for triggerred buffer to present data to user mode.This 
uses HID sensor framework for registering callback events from the 
sensor hub.

Signed-off-by: srinivas pandruvada <redacted>
---
 drivers/staging/iio/accel/Kconfig               |   10 +
 drivers/staging/iio/accel/Makefile              |    3 +
 drivers/staging/iio/accel/hid-sensor-accel-3d.c |  451 
+++++++++++++++++++++++
 3 files changed, 464 insertions(+), 0 deletions(-)  create mode 
100644 drivers/staging/iio/accel/hid-sensor-accel-3d.c
diff --git a/drivers/staging/iio/accel/Kconfig 
b/drivers/staging/iio/accel/Kconfig
index 5ab7167..6ab1efa 100644
--- a/drivers/staging/iio/accel/Kconfig
+++ b/drivers/staging/iio/accel/Kconfig
@@ -102,4 +102,14 @@ config SCA3000
          Say yes here to build support for the VTI SCA3000 series of SPI
          accelerometers. These devices use a hardware ring buffer.

+config HID_SENSOR_ACCEL_3D
+       depends on HID_SENSOR_HUB
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       select HID_SENSOR_IIO_COMMON
+       tristate "HID Acelerometers 3D"
+       help
+         Say yes here to build support for the HID SENSOR
+         accelerometers 3G.
Maybe it's just me missing something, but why do all the Kconfig entries mention "3G" instead of "3D"? I couldn't find any other place where "3G" is used, only lots of "3D". What does 3G stand for?

Or maybe I just didn't pay enough attention.. ;) Regards David
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (1 message) 1 message, 1 author, last reply 2012-07-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help