[PATCH] HID: hid-input: allow input_configured callback return errors

2015-09-25 Thread Dmitry Torokhov
When configuring input device via input_configured callback we may encounter errors (for example input_mt_init_slots() may fail). Instead of continuing with half-initialized input device let's allow driver indicate failures. Signed-off-by: Jaikumar Ganesh Signed-off-by: Arve Hjønnevåg Signed-off

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 25, 2015 11:52:23 PM Rafael J. Wysocki wrote: > On Friday, September 25, 2015 05:13:04 PM Alan Stern wrote: > > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > > > On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > > > > On Fri, 25 Sep 2015, Rafael J. Wysocki wr

consignment

2015-09-25 Thread COMPENSATION HEAD OFFICE
  Contact us for your compensation consignment box -- 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.html

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 25, 2015 05:13:04 PM Alan Stern wrote: > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > > > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > > > > > We are missing the "no remote wakeup" bit now (well, ther

RE: [PATCH v6 4/9] Input: goodix - write configuration data to device

2015-09-25 Thread Tirdea, Irina
> -Original Message- > From: Bastien Nocera [mailto:had...@hadess.net] > Sent: 25 September, 2015 17:41 > To: Tirdea, Irina; Dmitry Torokhov; Aleksei Mamlin; > linux-input@vger.kernel.org > Cc: Mark Rutland; Purdila, Octavian; linux-ker...@vger.kernel.org; > devicet...@vger.kernel.org >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Alan Stern
On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > > > We are missing the "no remote wakeup" bit now (well, there is a PM QoS > > > flag, > > > but it isn't very useful, so I'd prefer

RE: [PATCH v3 1/5] Input: goodix - reset device at init

2015-09-25 Thread Tirdea, Irina
> -Original Message- > From: Bastien Nocera [mailto:had...@hadess.net] > Sent: 25 September, 2015 17:44 > To: Tirdea, Irina; linux-input@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; Rob Herring; Pawel Moll; Ian Campbell; > Kumar Gala; Purdila, Octavian; Dmitry Torokhov; Mark > Rut

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > We are missing the "no remote wakeup" bit now (well, there is a PM QoS flag, > > but it isn't very useful, so I'd prefer to replace it with a "no remote > > wakeup" > > bit in struct

Re: [PATCH] Asus T300CHI.

2015-09-25 Thread Mike Mestnik
On Fri, Sep 25, 2015 at 9:19 AM, Srinivas Pandruvada wrote: > On Thu, 2015-09-24 at 10:57 -0500, Mike Mestnik wrote: >> On Mon, Sep 21, 2015 at 2:46 PM, Jonathan Cameron >> wrote: >> > On 21/09/15 15:26, Mike Mestnik wrote: >> > > On Sep 20, 2015 5:42 PM, "Bastien Nocera" >> > > wrote: >> > > >

Re: [PATCH v6 4/9] Input: goodix - write configuration data to device

2015-09-25 Thread Bastien Nocera
On Tue, 2015-09-15 at 17:31 +0300, Irina Tirdea wrote: > Goodix devices can be configured by writing custom data to the device > at > init. The configuration data is read with request_firmware from > "goodix__cfg.bin", where is the product id read from the > device > (e.g.: goodix_911_cfg.bin for

Re: [PATCH v3 1/5] Input: goodix - reset device at init

2015-09-25 Thread Bastien Nocera
On Thu, 2015-09-10 at 14:04 +, Tirdea, Irina wrote: > > > -Original Message- > > From: Bastien Nocera [mailto:had...@hadess.net] > > Sent: 09 September, 2015 20:03 > > To: Tirdea, Irina; linux-input@vger.kernel.org > > Cc: linux-ker...@vger.kernel.org; Rob Herring; Pawel Moll; Ian > >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Alan Stern
On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > We are missing the "no remote wakeup" bit now (well, there is a PM QoS flag, > but it isn't very useful, so I'd prefer to replace it with a "no remote > wakeup" > bit in struct dev_pm_info or something similar). > > That is actually quite important

Re: [PATCH] HID: multitouch: Do not fetch initial feature reports for Win8 devices

2015-09-25 Thread Mika Westerberg
On Thu, Sep 24, 2015 at 09:16:01PM -0400, Benjamin Tissoires wrote: > > diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c > > index 426b2f1a3450..1911f7698511 100644 > > --- a/drivers/hid/hid-multitouch.c > > +++ b/drivers/hid/hid-multitouch.c > > @@ -1020,14 +1020,16 @@ stat

Re: [PATCH] hid: enable hid device to suspend/resume asynchronously

2015-09-25 Thread Jiri Kosina
On Thu, 24 Sep 2015, Fu, Zhonghui wrote: > >> Enable hid device to suspend/resume asynchronously. This can improve > >> system suspend/resume speed. > > How well was this tested? > > > > Power management is notorious for not being really in excellent shape on > > many HID devices. > > > > So I'd

Re: [PATCH] input: fix data race __ps2_command

2015-09-25 Thread Pali Rohár
On Monday 07 September 2015 16:04:35 Dmitry Vyukov wrote: > The data race happens on ps2dev->cmdcnt and ps2dev->cmdbuf contents. > __ps2_command reads that data concurrently with the interrupt handler. > As the result, for example, if a response arrives just after the > timeout, __ps2_command can c