[PATCHv2] HID: Debug: Add labels for HID Sensor Usages

2014-05-27 Thread Reyad Attiyat
Add in debugfs report descriptor labels for HID Sensor Usages. Signed-off-by: Reyad Attiyat --- drivers/hid/hid-debug.c | 79 + 1 file changed, 79 insertions(+) diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 53b771d..25cc71c

[PATCH] HID: hid-sensor-hub: Set report quirk for Microsoft Surface

2014-05-27 Thread Reyad Attiyat
Add the Microsoft Surface Pro 2 Type/Touch and default device hardware ID's Set report quirk for the device in hid-sensor-hub Signed-off-by: Reyad Attiyat --- drivers/hid/hid-ids.h| 3 +++ drivers/hid/hid-sensor-hub.c | 9 + 2 files changed, 12 insertions(+) diff --git a/drivers

[PATCH v3 2/2] Input: mcs5000_ts: use devm_* functions.

2014-05-27 Thread Beomho Seo
This patch use devm_* functions in mcs5000_ts driver. As, a result, error patch and remove() function is simplified. Signed-off-by: Beomho Seo --- Changes in v3: - None. Changes in v2: - Additionally use devm_kzalloc for mcs_ts_data struct. --- drivers/input/touchscreen/mcs5000_ts.c | 42

[PATCH v3 1/2] Input: mcs_touchkey: use devm_* functions

2014-05-27 Thread Beomho Seo
This patch use devm_* funtions in mcs_touchkey driver. As a result, error path and remove() funtion is simplified. Signed-off-by: Beomho Seo --- Changes in v3: - Some codes are back again. use fw_version, driver name and poweron. Changes in v2: - Additionally use devm_kzalloc for mcs_touchkey_dat

[PATCH v3 0/2] Use devm_* functions for Melfas touch device.

2014-05-27 Thread Beomho Seo
This patch set devm_* functions in Melfas touche device driver. As a result, error path and remove() function is simplified. Changes in v3: - mcs_touchkey: Some codes are back again. Changes in v2: - Additionally use devm_kzalloc mcs_[touchkey/ts]_data struct. Beomho Seo (2): Input: mcs_touchk

Re: [PATCH v3 1/2] Input: mcs_touchkey: use devm_* functions

2014-05-27 Thread Dmitry Torokhov
On Tue, May 27, 2014 at 08:06:25PM +0900, Beomho Seo wrote: > This patch use devm_* funtions in mcs_touchkey driver. > As a result, error path and remove() funtion is simplified. > > Signed-off-by: Beomho Seo > --- > Changes in v3: > - Some codes are back again. use fw_version, driver name and po

Re: [PATCH 3/3] synaptics: Change min/max quirk table to pnp-id matching

2014-05-27 Thread Dmitry Torokhov
On Mon, May 26, 2014 at 01:47:31PM +0200, Hans de Goede wrote: > Hi Dmitry, > > On 05/19/2014 10:51 AM, Hans de Goede wrote: > > Hi, > > > > On 05/18/2014 10:35 PM, Dmitry Torokhov wrote: > >> On Fri, May 16, 2014 at 08:46:49PM +0200, Hans de Goede wrote: > >>> Most of the affected models share p

[PATCH 1/3] Input: wacom - set stylus_in_proximity when pen is in range

2014-05-27 Thread Ping Cheng
Signed-off-by: Ping Cheng Reviewed-by: Jason Gerecke Tested-by: Jason Gerecke --- drivers/input/tablet/wacom_wac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 24c0733..c98e51c 100644 --- a/drivers/input/tablet/w

[PATCH 2/3] Input: wacom - Don't declare ABS_X/Y for multitouch

2014-05-27 Thread Ping Cheng
We use ABS_MT_POSITION_X/Y for multitouch (touch_max > 1) events now. No need to declare ABS_X/Y for touch_max == 2 any more. Signed-off-by: Ping Cheng Reviewed-by: Jason Gerecke Tested-by: Jason Gerecke --- drivers/input/tablet/wacom_wac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[PATCH 3/3] Input: wacom - process outbound for newer Cintiqs

2014-05-27 Thread Ping Cheng
New Cintiq tablets have a 200 tablet counts outside of screen area. Add x/y_min for ABS_X/Y to pass this information to userland. Signed-off-by: Ping Cheng Reviewed-by: Jason Gerecke Tested-by: Jason Gerecke --- drivers/input/tablet/wacom_wac.c | 44 dr