[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160623174510.GI32561@dtor-ws>
Date: Thu, 23 Jun 2016 10:45:10 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: linux-input@...r.kernel.org
Cc: Benjamin Tissoires <benjamin.tissoires@...il.com>,
kt.liao@....com.tw, Patrick.Lessard@...eco.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: elantech - add more IC body types to the list
On Tue, Jun 21, 2016 at 04:15:35PM -0700, Dmitry Torokhov wrote:
> The touchpad in HP Pavilion 14-ab057ca reports it's version as 12 and
> according to Elan both 11 and 12 are valid IC types and should be
> identified as hw_version 4.
>
> Reported-by: Patrick Lessard <Patrick.Lessard@...eco.com>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Patrick, could you please give this patch a quick spin so I could queue
it for 4.7 and stable?
Thanks!
> ---
> drivers/input/mouse/elantech.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
> index e0fbd42..615d23e 100644
> --- a/drivers/input/mouse/elantech.c
> +++ b/drivers/input/mouse/elantech.c
> @@ -1568,13 +1568,7 @@ static int elantech_set_properties(struct elantech_data *etd)
> case 5:
> etd->hw_version = 3;
> break;
> - case 6:
> - case 7:
> - case 8:
> - case 9:
> - case 10:
> - case 13:
> - case 14:
> + case 6 ... 14:
> etd->hw_version = 4;
> break;
> default:
> --
> 2.8.0.rc3.226.g39d4020
>
>
> --
> Dmitry
--
Dmitry
Powered by blists - more mailing lists