From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] Input: synaptics - add min/max quirk for Lenovo T440s Date: Thu, 6 Nov 2014 09:27:35 -0800 Message-ID: <20141106172735.GB34214@dtor-ws> References: <1415288902-11140-1-git-send-email-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ig0-f171.google.com ([209.85.213.171]:45268 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751702AbaKFR1j (ORCPT ); Thu, 6 Nov 2014 12:27:39 -0500 Received: by mail-ig0-f171.google.com with SMTP id hl2so11098217igb.10 for ; Thu, 06 Nov 2014 09:27:39 -0800 (PST) Content-Disposition: inline In-Reply-To: <1415288902-11140-1-git-send-email-tiwai@suse.de> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Takashi Iwai Cc: linux-input@vger.kernel.org On Thu, Nov 06, 2014 at 04:48:22PM +0100, Takashi Iwai wrote: > The new Lenovo T440s laptop has a different PnP ID "LEN0039", and it > needs the similar min/max quirk to make its clickpad working. > > BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=903748 > Reported-and-tested-by: Joschi Brauchle > Cc: > Signed-off-by: Takashi Iwai Applied, thank you. > --- > drivers/input/mouse/synaptics.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c > index 9031a0a28ea4..2a7a9174c702 100644 > --- a/drivers/input/mouse/synaptics.c > +++ b/drivers/input/mouse/synaptics.c > @@ -135,8 +135,8 @@ static const struct min_max_quirk min_max_pnpid_table[] = { > 1232, 5710, 1156, 4696 > }, > { > - (const char * const []){"LEN0034", "LEN0036", "LEN2002", > - "LEN2004", NULL}, > + (const char * const []){"LEN0034", "LEN0036", "LEN0039", > + "LEN2002", "LEN2004", NULL}, > 1024, 5112, 2024, 4832 > }, > { > @@ -163,6 +163,7 @@ static const char * const topbuttonpad_pnp_ids[] = { > "LEN0036", /* T440 */ > "LEN0037", > "LEN0038", > + "LEN0039", /* T440s */ > "LEN0041", > "LEN0042", /* Yoga */ > "LEN0045", > -- > 2.1.3 > -- Dmitry