Re: [PATCH v2 0/3] Input: fix typo error in MELFAS touch device driver

2014-05-29 Thread Dmitry Torokhov
On Thu, May 22, 2014 at 09:02:24AM +0900, Beomho Seo wrote: > This patchset fix typo error in MELFAS touch device drivers. > > Changes in v2: > - Add patch set for mms114 and mcs5000_ts drivers. > > Beomho Seo (3): > Input: mcs_touchkey: fix incorrect input device name > Input: mms114: fix in

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

2014-05-29 Thread Dmitry Torokhov
On Tue, May 27, 2014 at 04:18:07PM -0700, Ping Cheng wrote: > 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. This will make legacy clients, such as GPM on text console, very sad. Thanks. > > Signed-off-by: Ping Che

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

2014-05-29 Thread Dmitry Torokhov
On Tue, May 27, 2014 at 04:17:44PM -0700, Ping Cheng wrote: > Signed-off-by: Ping Cheng > Reviewed-by: Jason Gerecke > Tested-by: Jason Gerecke Applied, thank you. > --- > drivers/input/tablet/wacom_wac.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/input/tablet/wacom_w

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

2014-05-29 Thread Dmitry Torokhov
On Tue, May 27, 2014 at 04:19:43PM -0700, Ping Cheng wrote: > 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 Applied, thank

Re: [RESEND PATCH v4 2/2] Input: mcs5000_ts: use devm_* functions

2014-05-29 Thread Dmitry Torokhov
On Wed, May 28, 2014 at 06:13:16PM +0900, Beomho Seo wrote: > This patch use devm_* functions in mcs5000_ts driver. > As, a result, error patch and remove() function is simplified. Applied, thank you. > > Signed-off-by: Beomho Seo > --- > Changes in v4: > - None. > Changes in v3: > - None. > Ch

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Wed, May 28, 2014 at 11:32:14PM +0530, Himangi Saraogi wrote: > This patch moves most data allocated in the probe function from > unmanaged interfaces to managed interfaces. The kfrees and error > handling code is done away with. Also, the unnecesary labels are > removed and the function mrstouc

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Julia Lawall
> > @@ -618,39 +619,22 @@ static int mrstouch_probe(struct platform_device > > *pdev) > > input_set_abs_params(tsdev->input, ABS_PRESSURE, > > MRST_PRESSURE_MIN, MRST_PRESSURE_MAX, 0, 0); > > > > - err = request_threaded_irq(tsdev->irq, NULL, mrstouch_pendet_irq, >

Re: [PATCH] Input: max8925_onkey :Allocate resources using managed interfaces

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:40:14AM +0530, Himangi Saraogi wrote: > This patch moves most data allocated in the probe function from > unmanaged interfaces to managed interfaces. The kfrees and error > handling code is done away with. The unnecesary labels are removed > and the function max8925_onkey

Re: [PATCH] input: ab8500-ponkey: Allocate resources using managed interfaces

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:42:00AM +0530, Himangi Saraogi wrote: > This patch moves most data allocated in the probe function from > unmanaged interfaces to managed interfaces. The kfrees and error > handling code is done away with. Also, the unnecesary labels are > removed and the function ab8500_

Re: [PATCH] Input: 88pm860x-ts: Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:36:03AM +0530, Himangi Saraogi wrote: > This patch moves most data allocated in the probe function from > unmanaged interfaces to managed interfaces. The kfrees and error > handling code is done away with. Also, the unnecesary labels are > removed and the function pm860x_

Re: [PATCH] Input: 88pm860x_onkey : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:31:23AM +0530, Himangi Saraogi wrote: > This patch moves most data allocated in the probe function from > unmanaged interfaces to managed interfaces. The kfrees and error > handling code is done away with. Also, the unnecesary labels are > removed and the function pm860x_

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 09:20:20AM +0200, Julia Lawall wrote: > > > @@ -618,39 +619,22 @@ static int mrstouch_probe(struct platform_device > > > *pdev) > > > input_set_abs_params(tsdev->input, ABS_PRESSURE, > > >MRST_PRESSURE_MIN, MRST_PRESSURE_MAX, 0, 0); > > > > > > -

Re: [PATCH 1/2] ARM: OMAP2+: remove unused omap4-keypad file and code

2014-05-29 Thread Dmitry Torokhov
On Mon, May 19, 2014 at 09:18:15AM -0700, Tony Lindgren wrote: > * Dmitry Torokhov [140518 22:38]: > > On Sat, May 17, 2014 at 11:24:10PM +0200, Joachim Eastwood wrote: > > > This has been unused since omap4 board files went away. > > > > > > Signed-off-by: Joachim Eastwood > > > > Tony, can I

joydev devices are world readable

2014-05-29 Thread Floris
Hey, after asking the systemd mailing list [1] I will try this list. Maybe someone can help me to solve this issue or point me to someone/ some list. The short version of the problem: I have created a multiseat setup with systemd. And used "loginctl attach" to attach devices to an other se

Re: joydev devices are world readable

2014-05-29 Thread David Herrmann
Hi On Thu, May 29, 2014 at 10:11 AM, Floris wrote: > Hey, > > after asking the systemd mailing list [1] I will try this list. Maybe > someone can help me to solve this issue or point me to someone/ some list. > > The short version of the problem: > > I have created a multiseat setup with systemd.

Re: joydev devices are world readable

2014-05-29 Thread Floris
I posted an explanation on systemd-devel [1] this morning. Please note that this is a policy-issue created in user-space. The kernel-side cannot help you there. Furthermore, the kernel recommends using evdev instead of joydev and friends. Therefore, I cannot see what you expect from us. just cur

Re: joydev devices are world readable

2014-05-29 Thread David Herrmann
Hi On Thu, May 29, 2014 at 11:44 AM, Floris wrote: >> I posted an explanation on systemd-devel [1] this morning. Please note >> that this is a policy-issue created in user-space. The kernel-side >> cannot help you there. Furthermore, the kernel recommends using evdev >> instead of joydev and frie

[PATCH] Input: atmel_mxt_ts - fix invalid return from mxt_get_bootloader_version

2014-05-29 Thread nick . dyer
From: Nick Dyer The patch e57a66aa8534: "Input: atmel_mxt_ts - read and report bootloader version" from May 18, 2014, leads to the following static checker warning: drivers/input/touchscreen/atmel_mxt_ts.c:437 mxt_get_bootloader_version() warn: signedness bug returning '(-5)' d

Re: [PATCHv4 0/4] tsc2005 DT binding

2014-05-29 Thread Sebastian Reichel
On Wed, May 21, 2014 at 07:36:10PM +0200, Sebastian Reichel wrote: > This adds device tree support for the tsc2005 touchscreen > controller, which is currently only used by the Nokia N900 > board. > > The patch does not update the reset pin handling for platform > data based probe to avoid merge c

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

2014-05-29 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 v5: - Remove mcs_touchkey_remove function again. - Add devm_add_action for use action touchkey power off. Changes in v4: - free_irq are back

[PATCH v5 0/1] Use devm_* functions for Melfas touch device

2014-05-29 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 v5: - mcs_touchkey: use devm_add_action. - mcs5000_ts: applied. Changes in v4: - mcs_touchkey: add free_irq for equivalent transformation. Changes in v3: - mcs_

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

2014-05-29 Thread Ping Cheng
On Thu, May 29, 2014 at 12:08 AM, Dmitry Torokhov wrote: > On Tue, May 27, 2014 at 04:18:07PM -0700, Ping Cheng wrote: >> 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. > > This will make legacy clients, such as GPM

[PATCH] Input: wacom - cleanup multitouch code when touch_max is 2

2014-05-29 Thread Ping Cheng
Historically we dealt with touch_max equals to 2 differently from other MT devices. Now we use input_mt_*() to process all MT events, as long as touch_max is greater than 1. So, there is no need to take (touch_max == 2) as a special case any more. Signed-off-by: Ping Cheng --- drivers/input/tabl

Re: [PATCH] gpio: removes all usage of gpiochip_remove retval

2014-05-29 Thread David Daney
On 05/29/2014 02:54 PM, abdoulaye berthe wrote: Did you forget a changelog explaining why this is either needed, or even a good idea? I joined the conversation late and don't know why you are doing this. Thanks, David Daney Signed-off-by: abdoulaye berthe --- arch/arm/common/scoop.c

Re: [PATCH] gpio: removes all usage of gpiochip_remove retval

2014-05-29 Thread Greg KH
On Thu, May 29, 2014 at 11:54:52PM +0200, abdoulaye berthe wrote: > Signed-off-by: abdoulaye berthe Why? -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [PATCH] gpio: removes all usage of gpiochip_remove retval

2014-05-29 Thread Stephen Rothwell
Hi abdoulaye, On Fri, 30 May 2014 01:16:22 +0200 abdoulaye berthe wrote: > > The aim of this patch is to make gpiochip_remove() behavior consistent, > especially when issuing a remove request while the chipio chip is > still requested. A patch has been submitted to change the return value of > gp