Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Christopher Heiny
On 08/22/2012 02:45 PM, Dmitry Torokhov wrote: On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: >On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > >+/* Helper fn to convert a byte array representing a short in the RMI > >+ * endian-ness to a short in the native

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Rafael J. Wysocki
On Wednesday, August 22, 2012, Linus Walleij wrote: > On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > (...) > > +#ifdef CONFIG_HAS_EARLYSUSPEND > > +#include > > +#endif > > This does not exist in the mainline kernel, I can see you're having fun with > Android ... check with

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Dmitry Torokhov
On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: > On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny > wrote: > > > +/* Helper fn to convert a byte array representing a short in the RMI > > + * endian-ness to a short in the native processor's specific endianness. Is

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Linus Walleij
On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny wrote: (...) > +#ifdef CONFIG_HAS_EARLYSUSPEND > +#include > +#endif This does not exist in the mainline kernel, I can see you're having fun with Android ... check with Rafael on how to really handle this in a contemporary kernel. > +/** > +

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Linus Walleij
On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: (...) +#ifdef CONFIG_HAS_EARLYSUSPEND +#include linux/earlysuspend.h +#endif This does not exist in the mainline kernel, I can see you're having fun with Android ... check with Rafael on how to really handle this

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Dmitry Torokhov
On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: +/* Helper fn to convert a byte array representing a short in the RMI + * endian-ness to a short in the native processor's specific endianness. Is

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Rafael J. Wysocki
On Wednesday, August 22, 2012, Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: (...) +#ifdef CONFIG_HAS_EARLYSUSPEND +#include linux/earlysuspend.h +#endif This does not exist in the mainline kernel, I can see you're having fun

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Christopher Heiny
On 08/22/2012 02:45 PM, Dmitry Torokhov wrote: On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: +/* Helper fn to convert a byte array representing a short in the RMI + * endian-ness to a short in

[RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Naveen Kumar Gaddipati Cc: Joeri de Gram Acked-by: Jean Delvare --- Documentation/input/rmi4.txt | 25 ++ Documentation/input/rmidev.txt | 144 + Documentation/input/rmisysfs.txt | 200

[RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org ---