All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: elantech - add new icbody type 15
@ 2017-11-19 14:56 Aaron Ma
  2017-11-26  0:49 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Ma @ 2017-11-19 14:56 UTC (permalink / raw
  To: linux-input, linux-kernel, dmitry.torokhov

The touchpad of Lenovo Thinkpad L480 reports it's version as 15.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
---
 drivers/input/mouse/elantech.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index b84cd978fce2..a4aaa748e987 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1613,7 +1613,7 @@ static int elantech_set_properties(struct elantech_data *etd)
 		case 5:
 			etd->hw_version = 3;
 			break;
-		case 6 ... 14:
+		case 6 ... 15:
 			etd->hw_version = 4;
 			break;
 		default:
-- 
2.13.6

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

* Re: [PATCH] Input: elantech - add new icbody type 15
  2017-11-19 14:56 [PATCH] Input: elantech - add new icbody type 15 Aaron Ma
@ 2017-11-26  0:49 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2017-11-26  0:49 UTC (permalink / raw
  To: Aaron Ma; +Cc: linux-input, linux-kernel

On Sun, Nov 19, 2017 at 10:56:47PM +0800, Aaron Ma wrote:
> The touchpad of Lenovo Thinkpad L480 reports it's version as 15.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Aaron Ma <aaron.ma@canonical.com>

Applied, thank you.

> ---
>  drivers/input/mouse/elantech.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
> index b84cd978fce2..a4aaa748e987 100644
> --- a/drivers/input/mouse/elantech.c
> +++ b/drivers/input/mouse/elantech.c
> @@ -1613,7 +1613,7 @@ static int elantech_set_properties(struct elantech_data *etd)
>  		case 5:
>  			etd->hw_version = 3;
>  			break;
> -		case 6 ... 14:
> +		case 6 ... 15:
>  			etd->hw_version = 4;
>  			break;
>  		default:
> -- 
> 2.13.6
> 

-- 
Dmitry

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

end of thread, other threads:[~2017-11-26  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-19 14:56 [PATCH] Input: elantech - add new icbody type 15 Aaron Ma
2017-11-26  0:49 ` Dmitry Torokhov

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.