All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] input: synaptics: min_max quirk for Thinkpad E440
@ 2015-03-25  1:20 Filip Ayazi
  2015-03-25  9:04 ` Daniel Martin
  0 siblings, 1 reply; 5+ messages in thread
From: Filip Ayazi @ 2015-03-25  1:20 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Filip Ayazi

Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440
(board_id=2691).

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=89641
Signed-off-by: Filip Ayazi <filipayazi@gmail.com>
---
 drivers/input/mouse/synaptics.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index dda6058..63942d4 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -154,6 +154,11 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
 	},
 	{
 		(const char * const []){"LEN2006", NULL},
+		{2691, 2691},
+		1024, 5045, 2457, 4832
+	},
+	{
+		(const char * const []){"LEN2006", NULL},
 		{ANY_BOARD_ID, ANY_BOARD_ID},
 		1264, 5675, 1171, 4688
 	},
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440
  2015-03-25  1:20 [PATCH] input: synaptics: min_max quirk for Thinkpad E440 Filip Ayazi
@ 2015-03-25  9:04 ` Daniel Martin
  2015-03-25 12:57   ` Ramiro Morales
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Martin @ 2015-03-25  9:04 UTC (permalink / raw)
  To: Filip Ayazi; +Cc: Dmitry Torokhov, linux-input, linux-kernel

On 25 March 2015 at 02:20, Filip Ayazi <filipayazi@gmail.com> wrote:
> Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440
> (board_id=2691).

Dmitry already applied a patch for the E440:
    http://www.spinics.net/lists/linux-input/msg37497.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440
  2015-03-25  9:04 ` Daniel Martin
@ 2015-03-25 12:57   ` Ramiro Morales
  2015-03-25 17:22     ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Ramiro Morales @ 2015-03-25 12:57 UTC (permalink / raw)
  To: linux-kernel

On Wed, Mar 25, 2015 at 6:04 AM, Daniel Martin <consume.noise@gmail.com> wrote:
> On 25 March 2015 at 02:20, Filip Ayazi <filipayazi@gmail.com> wrote:
>> Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440
>> (board_id=2691).
>
> Dmitry already applied a patch for the E440:
>     http://www.spinics.net/lists/linux-input/msg37497.html

There are two great things about this second submission from Filip.

First, it confirms the values sent by the hardware in a second laptop
as reported by touchpad-edge-detector.

Second, it reveals I made a stupid mistake transcribing the y_max
value to the quirks able. The correct value is 4832 and my patch
wrongly contains 4632.

I'm very sorry for this. I see my patch has already been pushed to the
'for-linus' branch and I don't know which process should we follow to
fix the issue.

Regards,

-- 
Ramiro Morales

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440
  2015-03-25 12:57   ` Ramiro Morales
@ 2015-03-25 17:22     ` Dmitry Torokhov
  2015-03-25 20:33       ` Filip Ayazi
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Torokhov @ 2015-03-25 17:22 UTC (permalink / raw)
  To: Ramiro Morales; +Cc: linux-kernel, Daniel Martin, Filip Ayazi, Linux Input

On Wed, Mar 25, 2015 at 09:57:51AM -0300, Ramiro Morales wrote:
> On Wed, Mar 25, 2015 at 6:04 AM, Daniel Martin <consume.noise@gmail.com> wrote:
> > On 25 March 2015 at 02:20, Filip Ayazi <filipayazi@gmail.com> wrote:
> >> Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440
> >> (board_id=2691).
> >
> > Dmitry already applied a patch for the E440:
> >     http://www.spinics.net/lists/linux-input/msg37497.html
> 
> There are two great things about this second submission from Filip.
> 
> First, it confirms the values sent by the hardware in a second laptop
> as reported by touchpad-edge-detector.
> 
> Second, it reveals I made a stupid mistake transcribing the y_max
> value to the quirks able. The correct value is 4832 and my patch
> wrongly contains 4632.
> 
> I'm very sorry for this. I see my patch has already been pushed to the
> 'for-linus' branch and I don't know which process should we follow to
> fix the issue.

My 'for-linus' branch is stable so we need a fixup on top on the
incorrect patch, the same way as if it was already in mainline.

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440
  2015-03-25 17:22     ` Dmitry Torokhov
@ 2015-03-25 20:33       ` Filip Ayazi
  0 siblings, 0 replies; 5+ messages in thread
From: Filip Ayazi @ 2015-03-25 20:33 UTC (permalink / raw)
  To: Dmitry Torokhov, Ramiro Morales; +Cc: linux-kernel, Daniel Martin, Linux Input

On 03/25/2015 06:22 PM, Dmitry Torokhov wrote:
> On Wed, Mar 25, 2015 at 09:57:51AM -0300, Ramiro Morales wrote:
>> On Wed, Mar 25, 2015 at 6:04 AM, Daniel Martin <consume.noise@gmail.com> wrote:
>>> On 25 March 2015 at 02:20, Filip Ayazi <filipayazi@gmail.com> wrote:
>>>> Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440
>>>> (board_id=2691).
>>> Dmitry already applied a patch for the E440:
>>>      http://www.spinics.net/lists/linux-input/msg37497.html
>> There are two great things about this second submission from Filip.
>>
>> First, it confirms the values sent by the hardware in a second laptop
>> as reported by touchpad-edge-detector.
>>
>> Second, it reveals I made a stupid mistake transcribing the y_max
>> value to the quirks able. The correct value is 4832 and my patch
>> wrongly contains 4632.
>>
>> I'm very sorry for this. I see my patch has already been pushed to the
>> 'for-linus' branch and I don't know which process should we follow to
>> fix the issue.
> My 'for-linus' branch is stable so we need a fixup on top on the
> incorrect patch, the same way as if it was already in mainline.
I too have noticed the typo in the commit earlier today and have a patch
to apply on top to fix it, which I will sent in another email.

Sincerely,

Filip Ayazi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-25 20:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25  1:20 [PATCH] input: synaptics: min_max quirk for Thinkpad E440 Filip Ayazi
2015-03-25  9:04 ` Daniel Martin
2015-03-25 12:57   ` Ramiro Morales
2015-03-25 17:22     ` Dmitry Torokhov
2015-03-25 20:33       ` Filip Ayazi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.