Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228994 > unrolled thread

[PATCH] Input: elan_i2c - Add ic type 0x03

Started byduson <dusonlin@emc.com.tw>
First post2015-09-21 04:20 +0200
Last post2015-09-21 18:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Input: elan_i2c - Add ic type 0x03 duson <dusonlin@emc.com.tw> - 2015-09-21 04:20 +0200
    Re: [PATCH] Input: elan_i2c - Add ic type 0x03 Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-09-21 18:30 +0200

#1228994 — [PATCH] Input: elan_i2c - Add ic type 0x03

Fromduson <dusonlin@emc.com.tw>
Date2015-09-21 04:20 +0200
Subject[PATCH] Input: elan_i2c - Add ic type 0x03
Message-ID<qaYRY-1qj-5@gated-at.bofh.it>
The 0x03 is valid 3000 serial ic type too.

Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
---
 drivers/input/mouse/elan_i2c_core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index fa94530..16ac595 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -102,6 +102,7 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
 		*validpage_count = 512;
 		break;
 	case 0x09:
+	case 0x03:
 		*validpage_count = 768;
 		break;
 	case 0x0D:
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1229540

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-09-21 18:30 +0200
Message-ID<qbc8y-3vr-29@gated-at.bofh.it>
In reply to#1228994
On Mon, Sep 21, 2015 at 10:14:13AM +0800, duson wrote:
> The 0x03 is valid 3000 serial ic type too.
> 
> Signed-off-by: Duson Lin <dusonlin@emc.com.tw>

Applied, thank you.

> ---
>  drivers/input/mouse/elan_i2c_core.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index fa94530..16ac595 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -102,6 +102,7 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
>  		*validpage_count = 512;
>  		break;
>  	case 0x09:
> +	case 0x03:
>  		*validpage_count = 768;
>  		break;
>  	case 0x0D:
> -- 
> 1.7.9.5
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web