[PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-07 Thread Pramod Gurav
This change introduces a label to call cancel_delayed_work_sync in failure path. Cc: Michael Hennerich michael.henner...@analog.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-input@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com ---

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

2014-10-07 Thread Ivan T. Ivanov
Hi Bjorn, On Mon, 2014-10-06 at 18:11 -0700, Bjorn Andersson wrote: These patches add dt bindings and a device driver for the power key block in the Qualcomm PM8941 pmic. Courtney Cavin (2): input: Add Qualcomm PM8941 power key driver input: pm8941-pwrkey: Add DT binding documentation

wireless logitech rumblepad 2 and hid|udev problem

2014-10-07 Thread Alessandro Fachin
Hi, I’m encountering many problems getting work a logitech wireless controller on my QNAP. It works properly on my laptop with a centos7 kernel 3.10: udevd —debug - http://pastebin.com/nCPahDYJ If I try to press any buttons I can see the correctly events works checking cat /dev/input/event7”

Re: [PATCH 1/6] mfd: viperboard: fix platform-device id collision

2014-10-07 Thread Lee Jones
On Fri, 26 Sep 2014, Johan Hovold wrote: Allow more than one viperboard to be connected by registering with PLATFORM_DEVID_AUTO instead of PLATFORM_DEVID_NONE. The subdevices are currently registered with PLATFORM_DEVID_NONE, which will cause a name collision on the platform bus when a

Re: [PATCH 3/6] mfd: core: add helper function to register hotplug devices

2014-10-07 Thread Lee Jones
On Fri, 26 Sep 2014, Johan Hovold wrote: Hot-pluggable multi-function devices should always be registered with PLATFORM_DEVID_AUTO to avoid name collisions on the platform bus. This helper also hides the memory map and irq parameters, which aren't used by hot-pluggable (e.g. USB-based)

Re: [PATCH 4/6] mfd: use mfd_add_hotplug_devices helper

2014-10-07 Thread Lee Jones
On Fri, 26 Sep 2014, Johan Hovold wrote: Use mfd_add_hotplug_devices helper to register the subdevices. Signed-off-by: Johan Hovold jo...@kernel.org --- drivers/mfd/rtsx_usb.c | 4 ++-- drivers/mfd/viperboard.c | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) Applied for

Re: [PATCH 5/6] HID: hid-sensor-hub: use mfd_add_hotplug_devices helper

2014-10-07 Thread Lee Jones
On Fri, 26 Sep 2014, Johan Hovold wrote: Use mfd_add_hotplug_devices helper to register the subdevices. Compile-only tested. Signed-off-by: Johan Hovold jo...@kernel.org --- drivers/hid/hid-sensor-hub.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Applied for v3.19

[PATCH] input: lm8323: Switch to using managed resources

2014-10-07 Thread Pramod Gurav
This change switches to using devm_* APIs to allocate resources. This helps to simplify failure path in probe function as well as remove function. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-input@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com ---

[PATCH 3/4] Input: pmic8xxx-keypad - add support keypad found in pm8941

2014-10-07 Thread Ivan T. Ivanov
Controller seems to be the same. Just access to it is over SPMI bus and registers and bits are reshuffled. Hopefully this is nicely abstracted by regmap helpers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- .../bindings/input/qcom,pm8xxx-keypad.txt | 1 +

[PATCH 1/4] Input: pmic8xxx-keypad - remove unused register and bit definitions

2014-10-07 Thread Ivan T. Ivanov
These defines are not used by driver. Remove them. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/input/keyboard/pmic8xxx-keypad.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c

[PATCH 4/4] Input: pmic8xxx-keypad - update DT bindings documentation

2014-10-07 Thread Ivan T. Ivanov
Fix incorrect dimensions for 'debonce' and 'scan-delay' times. Now they represent what driver really expect. Add possible time quants for 'debonce', 'scan-delay' and 'row-hold' times. Update bindings example. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

Re: [PATCH 1/2] input: Add Qualcomm PM8941 power key driver

2014-10-07 Thread Kiran Padwal
On Tuesday 07 October 2014 06:42 AM, Bjorn Andersson wrote: From: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/input/misc/Kconfig | 12 +++

Elan TS driver patch

2014-10-07 Thread ELAN 劉嘉駿
Hi Dmitry: I submitted a patch to upstream for support Elan TS. Please refer to below link: https://lkml.org/lkml/2013/12/27/92 This driver is for many chromebook and you have some contributions on this: https://chromium-review.googlesource.com/#/c/218723/   

Re: [PATCH 2/6] mfd: rtsx_usb: fix platform device-id collision

2014-10-07 Thread Johan Hovold
On Tue, Oct 07, 2014 at 10:22:58AM +0100, Lee Jones wrote: On Fri, 26 Sep 2014, Johan Hovold wrote: Hot-pluggable multi-function devices should use PLATFORM_DEVID_AUTO to avoid name collisions on the platform bus. This driver currently uses the USB-device address as an id. This makes

Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-07 Thread Tobias Klauser
On 2014-10-07 at 13:31:41 +0200, Pramod Gurav pramod.gu...@smartplayin.com wrote: This change switch to managed resources to simplifies error handling and module unloading and does away with platform_driver remove function. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc:

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-07 Thread Michael Hennerich
On 10/07/2014 09:30 AM, Pramod Gurav wrote: This change introduces a label to call cancel_delayed_work_sync in failure path. Cc: Michael Hennerich michael.henner...@analog.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-input@vger.kernel.org Signed-off-by: Pramod Gurav

Re: Elan TS driver patch

2014-10-07 Thread Dmitry Torokhov
Hi Scott, On Tue, Oct 07, 2014 at 07:27:25PM +0800, ELAN 劉嘉駿 wrote: Hi Dmitry: I submitted a patch to upstream for support Elan TS. Please refer to below link: https://lkml.org/lkml/2013/12/27/92 This driver is for many chromebook and you have some contributions on this:

Re: 3.17-rc5: kernel oops when exiting X under heavy load

2014-10-07 Thread David Herrmann
Hi On Mon, Oct 6, 2014 at 8:12 PM, Dmitry Torokhov d...@mail.ru wrote: On Sat, Oct 04, 2014 at 01:11:10AM +0200, Pavel Machek wrote: Hi! From the backtrace, it looks evdev related...? Hmm, looks like it... Oct 4 00:59:47 duo wpa_supplicant[3824]: wlan0: SME: Trying to authenticate

Re: [PATCH] input: lm8323: Switch to using managed resources

2014-10-07 Thread Dmitry Torokhov
Hi Pramod, On Tue, Oct 07, 2014 at 03:08:09PM +0530, Pramod Gurav wrote: This change switches to using devm_* APIs to allocate resources. This helps to simplify failure path in probe function as well as remove function. I prefer not mixing the automatic and manual resource management in a