Re: [PATCH] Input: elantech - add new icbody type 15

2017-11-25 Thread Dmitry Torokhov
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: sta...@vger.kernel.org
> Signed-off-by: Aaron Ma 

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


Re: [PATCH] Input: elantech - add new icbody type 15

2017-11-25 Thread Dmitry Torokhov
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: sta...@vger.kernel.org
> Signed-off-by: Aaron Ma 

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