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

2015-09-20 Thread Bjorn Andersson
On Tue 15 Sep 04:36 PDT 2015, Ivan T. Ivanov wrote: > > On Fri, 2015-01-23 at 16:19 -0800, Bjorn Andersson wrote: > > From: Courtney Cavin ca...@sonymobile.com> > > > > Signed-off-by: Courtney Cavin ca...@sonymobile.com> > > Signed-off-by: Bjorn Andersson anders...@sonymobile.com> > > > > >

Re: [PATCH] input: gpio_keys: Don't report events on gpio failure

2015-09-20 Thread Bjorn Andersson
On Tue 28 Jul 14:00 PDT 2015, Dmitry Torokhov wrote: > Hi Bjorn, > > On Mon, Jul 27, 2015 at 06:50:04PM -0700, Bjorn Andersson wrote: > > In the cases where the gpio chip fails to acquire the current state an > > error is reported back to gpio_keys. This is currently interpreted as if > > the lin

[PATCH] Input: elan_i2c - Add ic type 0x03

2015-09-20 Thread duson
The 0x03 is valid 3000 serial ic type too. Signed-off-by: Duson Lin --- drivers/input/mouse/elan_i2c_core.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index fa94530..16ac595 100644 --- a/drivers/input/mouse/el

Re: [PATCH v2 2/2] input: gpio_keys_polled: Add support for abs/rel axis

2015-09-20 Thread Hans de Goede
Hi, Dmitry Torokhov wrote: > > + for_each_set_bit(i, input->relbit, REL_CNT) { > > + if (!test_bit(i, bdev->rel_axis_seen)) > > + input_event(input, EV_REL, i, 0); > > + } > > I wonder if this should be written as > >for_each_set_bit(i, bdev->rel_axi