[PATCH] Input: mouse: lifebook: Fixed tabbing issue.

2015-03-19 Thread Brian K. Turner
Fixed a style issue where spaces where used instead of tabs. Signed-off-by: Brian K. Turner --- drivers/input/mouse/lifebook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c index 23222dd..e5ed216 100644 -

Re: [PATCH v2 0/2] Qualcomm PM8941 power key driver

2015-03-19 Thread Bjorn Andersson
On Mon, Feb 16, 2015 at 10:55 AM, Ivan T. Ivanov wrote: > > On Fri, 2015-01-23 at 16:19 -0800, Bjorn Andersson wrote: >> These patches add dt bindings and a device driver for the power key block in >> the Qualcomm PM8941 pmic. >> >> Changes since v1: >> * Use a reboot_notifier to set power off/re

Re: [git pull] Input updates for 4.0-rc4

2015-03-19 Thread Dmitry Torokhov
On Thu, Mar 19, 2015 at 04:45:24PM -0700, Linus Torvalds wrote: > On Thu, Mar 19, 2015 at 12:20 PM, Dmitry Torokhov > wrote: > > Hi Linus, > > > > Please pull from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git > > for-linus > > or > > master.kernel.org:/pub

Re: [git pull] Input updates for 4.0-rc4

2015-03-19 Thread Linus Torvalds
On Thu, Mar 19, 2015 at 12:20 PM, Dmitry Torokhov wrote: > Hi Linus, > > Please pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus > or > master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus Btw, can you change your script to not

Elantech touchpad does not work on Asus

2015-03-19 Thread ulrik . debie-os
Hi all, I looked at the bugzilla bugreport on https://bugzilla.kernel.org/show_bug.cgi?id=84491 "Elantech touchpad does not work on Asus TransformerBook Flip 500" There are problems reported on two variants: Asus TransformerBook Flip TP500LN Asus TP500LN George (in CC:) helped me to investigate

Re: [PATCH] Input: Add MT_TOOL_PALM

2015-03-19 Thread Peter Hutterer
On Wed, Mar 18, 2015 at 03:26:35PM -0700, Charlie Mooney wrote: > Currently there are only two "tools" that can be specified by a > multi-touch driver: MT_TOOL_FINGER and MT_TOOL_PEN. In working with > Elan (The touch vendor) and discussing their next-gen devices it > seems that it will be useful

Re: [PATCH] Input: synaptics - quirk for Thinkpad E440

2015-03-19 Thread Benjamin Tissoires
On Thu, Mar 19, 2015 at 11:17 AM, Ramiro Morales wrote: > On Thu, Mar 19, 2015 at 7:37 AM, Ramiro Morales wrote: > >> Subject: [PATCH] Input: synaptics - quirk for Thinkpad E440 >> >> Its ClickPad shares PNP ID "LEN2006" with the one in model E540 which is >> already handled by the driver (both a

[PATCH] Support Alps Touchpad SS4 device

2015-03-19 Thread Masaki Ota
>From Masaki Ota - Support SS4 device as ALPS_PROT_V8 - SS4 device has two types. One is a button type, the other is a buttonless type. - SS4 supports four-finger data. --- Signed-off-by: Masaki Ota --- drivers/input/mouse/alps.c | 472 +++-- drivers/in

[git pull] Input updates for 4.0-rc4

2015-03-19 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem: you will get an update to Synaptics driver that makes it usable w

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Benjamin Tissoires
On Mar 19 2015 or thereabouts, Dmitry Torokhov wrote: > On Thu, Mar 19, 2015 at 01:06:49PM -0400, Benjamin Tissoires wrote: > > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > > On Thu, Mar 19, 2015 at 11:58:31AM -0400, Benjamin Tissoires wrote: > > > > On Mar 19 2015 or thereabouts, Yv

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Dmitry Torokhov
On Thu, Mar 19, 2015 at 01:06:49PM -0400, Benjamin Tissoires wrote: > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > On Thu, Mar 19, 2015 at 11:58:31AM -0400, Benjamin Tissoires wrote: > > > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > > Again, sorry, I thought I answere

Re: HID: wacom: check for wacom->shared before following the pointer

2015-03-19 Thread Benjamin Tissoires
On Mar 19 2015 or thereabouts, Ping Cheng wrote: > On Thu, Mar 19, 2015 at 9:06 AM, Benjamin Tissoires > wrote: > > Hi Dan, > > > > On Mar 19 2015 or thereabouts, Dan Carpenter wrote: > >> Hello Benjamin Tissoires, > >> > >> This is a semi-automatic email about new static checker warnings. > >> >

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Benjamin Tissoires
On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > On Thu, Mar 19, 2015 at 11:58:31AM -0400, Benjamin Tissoires wrote: > > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > Again, sorry, I thought I answered it. With the kernel patches applied: > > - disabled in the bios without ps

Re: [PATCH 2/2] mfd: tc3589x: enforce device-tree only mode

2015-03-19 Thread Dmitry Torokhov
On Thu, Mar 19, 2015 at 03:52:45PM +0100, Linus Walleij wrote: > All systems using the TC3589x multifunction expander uses > devicetree, so don't clutter the place with a lot of > and assume it is there. > > Cc: Dmitry Torokhov > Cc: Lee Jones > Signed-off-by: Linus Walleij > --- > drivers/gpi

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Mar 19, 2015 at 11:58:31AM -0400, Benjamin Tissoires wrote: > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > Am I right? Thanks for the information, I'll also try to point our > > kernel maintainers to that thread and ask them if

Re: HID: wacom: check for wacom->shared before following the pointer

2015-03-19 Thread Dan Carpenter
On Thu, Mar 19, 2015 at 12:06:02PM -0400, Benjamin Tissoires wrote: > > 1101 > > 1102 for (i = 0; i < contacts_to_send; i++) { > > 1103 int offset = (byte_per_packet * i) + 1; > > 1104 bool touch = (data[offset] & 0x1) && > > !wacom->shared->sty

Re: HID: wacom: check for wacom->shared before following the pointer

2015-03-19 Thread Ping Cheng
On Thu, Mar 19, 2015 at 9:06 AM, Benjamin Tissoires wrote: > Hi Dan, > > On Mar 19 2015 or thereabouts, Dan Carpenter wrote: >> Hello Benjamin Tissoires, >> >> This is a semi-automatic email about new static checker warnings. >> >> The patch e2c7d8877e5c: "HID: wacom: check for wacom->shared befor

Re: [PATCH 1/2] input: keypad: tc3589x: localize platform data

2015-03-19 Thread Dmitry Torokhov
Hi Linus, On Thu, Mar 19, 2015 at 03:52:44PM +0100, Linus Walleij wrote: > This driver can only get its platform data from the device tree, > and all platforms using it does that. Localize the platform data > for the keypad. A later patch will enforce the device tree / OF > dependence. > > Cc: Dm

Re: [PATCH] input: elan_i2c - fix typo in include header guard

2015-03-19 Thread Dmitry Torokhov
On Thu, Mar 19, 2015 at 09:10:31PM +0800, Nicolas Iooss wrote: > Signed-off-by: Nicolas Iooss > Fixes: 6696777c6506 ("Input: add driver for Elan I2C/SMbus touchpad") Applied, thank you. > --- > drivers/input/mouse/elan_i2c.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: HID: wacom: check for wacom->shared before following the pointer

2015-03-19 Thread Benjamin Tissoires
Hi Dan, On Mar 19 2015 or thereabouts, Dan Carpenter wrote: > Hello Benjamin Tissoires, > > This is a semi-automatic email about new static checker warnings. > > The patch e2c7d8877e5c: "HID: wacom: check for wacom->shared before > following the pointer" from Mar 5, 2015, leads to the following

Re: [PATCH v3] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-19 Thread Mark Rutland
> diff --git a/Documentation/devicetree/bindings/misc/fsl,mma8653fc.txt > b/Documentation/devicetree/bindings/misc/fsl,mma8653fc.txt > new file mode 100644 > index 000..3921acb > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/fsl,mma8653fc.txt > @@ -0,0 +1,96 @@ > +Freescale MMA8

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Benjamin Tissoires
On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > On Thu, Mar 19, 2015 at 10:46:27AM -0400, Benjamin Tissoires wrote: > > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > > So I have two questions/remarks about this: > > > > > > - if I don't use the touchpad, do I need xf86-inpu

re: HID: wacom: check for wacom->shared before following the pointer

2015-03-19 Thread Dan Carpenter
Hello Benjamin Tissoires, This is a semi-automatic email about new static checker warnings. The patch e2c7d8877e5c: "HID: wacom: check for wacom->shared before following the pointer" from Mar 5, 2015, leads to the following Smatch complaint: drivers/hid/wacom_wac.c:602 wacom_intuos_inout()

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Mar 19, 2015 at 10:46:27AM -0400, Benjamin Tissoires wrote: > On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > > So I have two questions/remarks about this: > > > > - if I don't use the touchpad, do I need xf86-input-synaptics at al

Re: [PATCH] Input: synaptics - quirk for Thinkpad E440

2015-03-19 Thread Ramiro Morales
On Thu, Mar 19, 2015 at 7:37 AM, Ramiro Morales wrote: > Subject: [PATCH] Input: synaptics - quirk for Thinkpad E440 > > Its ClickPad shares PNP ID "LEN2006" with the one in model E540 which is > already handled by the driver (both are Haswell iterations of the Edge > line, launched in 2014) but

[PATCH 2/2] mfd: tc3589x: enforce device-tree only mode

2015-03-19 Thread Linus Walleij
All systems using the TC3589x multifunction expander uses devicetree, so don't clutter the place with a lot of and assume it is there. Cc: Dmitry Torokhov Cc: Lee Jones Signed-off-by: Linus Walleij --- drivers/gpio/Kconfig| 1 + drivers/gpio/gpio-tc3589x.c | 3 -

[PATCH 0/2] tc3589x OF only enforcement

2015-03-19 Thread Linus Walleij
These two patches removes the non-DT probe/config path from the TC3589x driver. I suggest merging both through the MFD tree if Dmitry can ACK the input patch. Linus Walleij (2): input: keypad: tc3589x: localize platform data mfd: tc3589x: enforce device-tree only mode drivers/gpio/Kconfig

[PATCH 1/2] input: keypad: tc3589x: localize platform data

2015-03-19 Thread Linus Walleij
This driver can only get its platform data from the device tree, and all platforms using it does that. Localize the platform data for the keypad. A later patch will enforce the device tree / OF dependence. Cc: Dmitry Torokhov Cc: Lee Jones Signed-off-by: Linus Walleij --- Dmitry it would be gre

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Benjamin Tissoires
On Mar 19 2015 or thereabouts, Yves-Alexis Perez wrote: > On Fri, Feb 06, 2015 at 03:04:28PM -0500, Benjamin Tissoires wrote: > > Hi, > > > > This is the second episode of the Lenovo 2015 party :) > > > > Thanks to Andrew, we now have an idea within the driver of what are the > > extra > > butto

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-19 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, Feb 06, 2015 at 03:04:28PM -0500, Benjamin Tissoires wrote: > Hi, > > This is the second episode of the Lenovo 2015 party :) > > Thanks to Andrew, we now have an idea within the driver of what are the extra > buttons aimed for, and the patc

[PATCH] input: elan_i2c - fix typo in include header guard

2015-03-19 Thread Nicolas Iooss
Signed-off-by: Nicolas Iooss Fixes: 6696777c6506 ("Input: add driver for Elan I2C/SMbus touchpad") --- drivers/input/mouse/elan_i2c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h index e100c1b31597..9b2dc015f20

[PATCH] Input: synaptics - quirk for Thinkpad E440

2015-03-19 Thread Ramiro Morales
Its ClickPad shares PNP ID "LEN2006" with the one in model E540 which is already handled by the driver (both are Haswell iterations of the Edge line, launched in 2014) but the dimensions it reports are different: $ sudo ./touchpad-edge-detector /dev/input/event3 Touchpad SynPS/2 Synaptics Touc

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread Oliver Neukum
On Thu, 2015-03-19 at 11:12 +0100, Pavel Machek wrote: > On Thu 2015-03-19 10:54:22, Oliver Neukum wrote: > > On Thu, 2015-03-19 at 10:38 +0100, Pavel Machek wrote: > > > On Thu 2015-03-19 10:14:21, Oliver Neukum wrote: > > > > On Mon, 2015-03-16 at 22:37 +0100, Jiri Kosina wrote: > > > > > > > Ar

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread David Herrmann
Hi On Sat, Feb 7, 2015 at 10:48 PM, Lauri Kasanen wrote: > Hi, > > On Sat, 7 Feb 2015 17:31:33 +0100 > Antonio Ospite wrote: >> > > +#include >> > >> > Please don't. >> > HID should be transport agnostic, so please refrain from directly call usb. >> > >> >> I agree with Benjamin here. >> >> > >

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-19 Thread Bastien Nocera
On Wed, 2015-03-18 at 19:28 +0100, Martin Kepplinger wrote: > Am 2015-03-18 um 19:05 schrieb Bastien Nocera: > > On Wed, 2015-03-18 at 19:02 +0100, Martin Kepplinger wrote: > > > Am 2015-03-18 um 17:59 schrieb Bastien Nocera: > > > > On Wed, 2015-03-18 at 17:42 +0100, Martin Kepplinger wrote: > > >

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread Pavel Machek
On Thu 2015-03-19 10:54:22, Oliver Neukum wrote: > On Thu, 2015-03-19 at 10:38 +0100, Pavel Machek wrote: > > On Thu 2015-03-19 10:14:21, Oliver Neukum wrote: > > > On Mon, 2015-03-16 at 22:37 +0100, Jiri Kosina wrote: > > > > > Are you sure CONFIG_DMA_API_DEBUG wouldn't warn here? > > > > > > As

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread Oliver Neukum
On Thu, 2015-03-19 at 10:38 +0100, Pavel Machek wrote: > On Thu 2015-03-19 10:14:21, Oliver Neukum wrote: > > On Mon, 2015-03-16 at 22:37 +0100, Jiri Kosina wrote: > > > Are you sure CONFIG_DMA_API_DEBUG wouldn't warn here? > > > > As far as I can tell, it will not warn. The problem is not in the

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread Pavel Machek
On Thu 2015-03-19 10:14:21, Oliver Neukum wrote: > On Mon, 2015-03-16 at 22:37 +0100, Jiri Kosina wrote: > > On Mon, 16 Mar 2015, Pavel Machek wrote: > > > > > > > Oliver Neukum wrote: > > > > > > > > > > > > + ret = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x02), > > > > > > > +

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-19 Thread Oliver Neukum
On Mon, 2015-03-16 at 22:37 +0100, Jiri Kosina wrote: > On Mon, 16 Mar 2015, Pavel Machek wrote: > > > > > Oliver Neukum wrote: > > > > > > > > > > + ret = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x02), > > > > > > + buf2, sizeof(buf2), > > > > > > +