RE: [PATCH v4 0/8] Goodix touchscreen enhancements

2015-08-04 Thread Tirdea, Irina
-Original Message- From: Bastien Nocera [mailto:had...@hadess.net] Sent: 03 August, 2015 13:30 To: Tirdea, Irina; Dmitry Torokhov; linux-input@vger.kernel.org Cc: Mark Rutland; Purdila, Octavian; linux-ker...@vger.kernel.org; devicet...@vger.kernel.org Subject: Re: [PATCH v4 0/8]

Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias

2015-08-04 Thread Chen-Yu Tsai
On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle pebo...@tiscali.nl wrote: On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote: Add a proper module alias so the driver can be autoloaded when the parent axp20x mfd driver registers its cells. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

Re: [PATCH 1/3] HID: wacom: Use calculated pkglen for wireless touch interface

2015-08-04 Thread Jiri Kosina
On Mon, 3 Aug 2015, Jason Gerecke wrote: Commit 01c846f introduced the 'wacom_compute_pktlen' function which automatically determines the correct value for an interface's pkglen by scanning the HID descriptor. This function returns the correct value for the wireless receiver's touch

Re: [PATCH v3] HID: hid-input: Fix accessing freed memory during device disconnect

2015-08-04 Thread Jiri Kosina
On Mon, 3 Aug 2015, Krzysztof Kozlowski wrote: During unbinding the driver was dereferencing a pointer to memory already freed by power_supply_unregister(). Driver was freeing its internal description of battery through pointers stored in power_supply structure. However, because the core

[PATCH v2] Input: drivers/joystick: use parallel port device model

2015-08-04 Thread Sudip Mukherjee
Modify db9 driver to use the new Parallel Port device model. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v2: an extra check was removed. db9_base could not be removed. Already mailed you the reasons, reference is at: https://lkml.org/lkml/2015/8/3/403 drivers/input/joystick/db9.c

Re: May close() return any error code?

2015-08-04 Thread Takashi Iwai
On Sun, 02 Aug 2015 16:07:06 +0200, Al Viro wrote: On Wed, Jul 29, 2015 at 07:45:11AM -0700, Dmitry Torokhov wrote: This seems coming from evdev_flush(). As there is no fd leak, it's no big problem per se. But, now the question is whether returning such an error code is correct

Re: [PATCH] Input: axp20x-pek: Add module alias

2015-08-04 Thread Paul Bolle
On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote: Add a proper module alias so the driver can be autoloaded when the parent axp20x mfd driver registers its cells. Signed-off-by: Chen-Yu Tsai w...@csie.org --- a/drivers/input/misc/axp20x-pek.c +++ b/drivers/input/misc/axp20x-pek.c

[PATCH v3] MIPS: Remove all the uses of custom gpio.h

2015-08-04 Thread Alban Bedel
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS machines, and each machine type provides its own gpio.h. However only a handful really implement the GPIO API, most just forward everythings to gpiolib. The Alchemy machine is notable as it provides a system to allow implementing

RE: [PATCH] Input: da9052_onkey: Convert to managed resources

2015-08-04 Thread Opensource [Steve Twiss]
On 27 July 2015 03:56, Vaishali Thakkar wrote: Subject: [PATCH] Input: da9052_onkey: Convert to managed resources Use managed resource functions devm_input_allocate_device and devm_kzalloc. To be compatible with the change, replace various gotos by direct returns and drop unneeded labels.

[PATCH RESEND 0/2] cap11xx: add LED support

2015-08-04 Thread Matt Ranostay
Several cap11xx variants have LEDs that be can be controlled, and this patchset implements this functionality Matt Ranostay (2): dt: add cap11xx LED documentation cap11xx: add LED support .../devicetree/bindings/input/cap11xx.txt | 19 +++ drivers/input/keyboard/cap11xx.c

[PATCH RESEND 1/2] dt: add cap11xx LED documentation

2015-08-04 Thread Matt Ranostay
Signed-off-by: Matt Ranostay mranos...@gmail.com --- Documentation/devicetree/bindings/input/cap11xx.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index

[PATCH RESEND 2/2] cap11xx: add LED support

2015-08-04 Thread Matt Ranostay
Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 140 ++- 1 file changed, 137 insertions(+), 3 deletions(-) diff

Re: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-08-04 Thread Alexandre Belloni
On 21/07/2015 at 11:29:07 +0100, S Twiss wrote : From: S Twiss stwiss.opensou...@diasemi.com Add DA9062 RTC support into the existing DA9063 RTC driver component by using generic access tables for common register and bit mask definitions. The following change will add generic register and

Re: [PATCH 4/9] Input: atmel_mxt_ts - move mxt_initialize after sysfs init

2015-08-04 Thread Dmitry Torokhov
On Mon, Aug 03, 2015 at 04:23:12PM +0100, Nick Dyer wrote: An error in the sysfs init may otherwise interfere with the async return from the firmware loader In this case I'd rather we blocked accessing the device via sysfs until it is settled instead of returning intermittent -EINVAL. Thanks.

Re: [PATCH] Input: Evdev - Avoid data loss when clock type is changed

2015-08-04 Thread Aniroop Mathur
On Wed, Aug 5, 2015 at 4:52 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Aug 05, 2015 at 03:29:06AM +0530, Aniroop Mathur wrote: Hello Mr. Torokhov, On Tue, Aug 4, 2015 at 10:20 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Aniroop, On Sat, Aug 01, 2015 at

Re: [PATCH] Input: Evdev - Avoid data loss when clock type is changed

2015-08-04 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 05:37:57AM +0530, Aniroop Mathur wrote: On Wed, Aug 5, 2015 at 4:52 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Aug 05, 2015 at 03:29:06AM +0530, Aniroop Mathur wrote: Hello Mr. Torokhov, On Tue, Aug 4, 2015 at 10:20 PM, Dmitry Torokhov

Re: [PATCH 2/9] Input: atmel_mxt_ts - use deep sleep mode when stopped

2015-08-04 Thread Dmitry Torokhov
On Mon, Aug 03, 2015 at 04:23:10PM +0100, Nick Dyer wrote: The hardcoded 0x83 CTRL setting overrides other settings in that byte, enabling extra reporting that may not be useful on a particular platform. Implement improved suspend mechanism via deep sleep. By writing zero to both the active

Re: [PATCH] Input: Evdev - Avoid data loss when clock type is changed

2015-08-04 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 03:29:06AM +0530, Aniroop Mathur wrote: Hello Mr. Torokhov, On Tue, Aug 4, 2015 at 10:20 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Aniroop, On Sat, Aug 01, 2015 at 03:58:52AM +0530, Aniroop Mathur wrote: When clock type is changed, previously

Re: [PATCH v2 4/8] xen: Use the correctly the Xen memory terminologies

2015-08-04 Thread Boris Ostrovsky
On 08/04/2015 02:12 PM, Julien Grall wrote: /* * We detect special mappings in one of two ways: @@ -217,9 +232,13 @@ static inline unsigned long bfn_to_local_pfn(unsigned long mfn) /* VIRT - MACHINE conversion */ #define virt_to_machine(v)(phys_to_machine(XPADDR(__pa(v

Re: [PATCH] Input: Evdev - Avoid data loss when clock type is changed

2015-08-04 Thread Aniroop Mathur
Hello Mr. Torokhov, On Tue, Aug 4, 2015 at 10:20 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Aniroop, On Sat, Aug 01, 2015 at 03:58:52AM +0530, Aniroop Mathur wrote: When clock type is changed, previously stored data is flushed and therfore does not reach to upper layer or

Re: [PATCH] Input: Evdev - Avoid data loss when clock type is changed

2015-08-04 Thread Dmitry Torokhov
Hi Aniroop, On Sat, Aug 01, 2015 at 03:58:52AM +0530, Aniroop Mathur wrote: When clock type is changed, previously stored data is flushed and therfore does not reach to upper layer or application. Data is critically important along with the timestamp. So to avoid data loss and send correct

Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias

2015-08-04 Thread Dmitry Torokhov
On Tue, Aug 04, 2015 at 05:04:55PM +0800, Chen-Yu Tsai wrote: On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle pebo...@tiscali.nl wrote: On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote: Add a proper module alias so the driver can be autoloaded when the parent axp20x mfd driver registers its

Re: [PATCH v2 02/11] input: Allow compile test of GPIO consumers if !GPIOLIB

2015-08-04 Thread Dmitry Torokhov
On Sun, Aug 02, 2015 at 11:09:48AM +0200, Geert Uytterhoeven wrote: The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. Relax the

Re: [PATCH] Input: drivers/joystick: use parallel port device model

2015-08-04 Thread Dmitry Torokhov
On Mon, Aug 03, 2015 at 08:32:20PM +0530, Sudip Mukherjee wrote: On Fri, Jul 31, 2015 at 01:43:06PM -0700, Dmitry Torokhov wrote: Converting to the new api is the end goal here, no need to keep the old one around anymore. OK, then I guess we can do the conversion right (dropping

Re: [PATCH] Input: drivers/joystick: use parallel port device model

2015-08-04 Thread Pali Rohár
On Monday 03 August 2015 14:41:27 Pali Rohár wrote: On Monday 03 August 2015 18:06:26 Sudip Mukherjee wrote: On Mon, Aug 03, 2015 at 02:26:48PM +0200, Pali Rohár wrote: On Saturday 01 August 2015 18:13:48 Sudip Mukherjee wrote: snip Hey! I believe you are not going to break my Atari

Re: atmel_mxt_ts - suspend patch and minor fixes

2015-08-04 Thread Dmitry Torokhov
Hi Nick, On Mon, Aug 03, 2015 at 04:23:08PM +0100, Nick Dyer wrote: Hi Dmitry- Here is the suspend patch for atmel_mxt_ts, again. I've tested it on Pixel 2 today. The code for T7 deep sleep has been widely used for years in our github version of the driver. Also, several minor (but