Re: [PATCH] Input: elan_i2c - Add ic type 0x19
From: Dmitry.torokhov@xxxxxxxxx
Date: Thu Apr 23 2026 - 14:06:19 EST
On Tue, Apr 21, 2026 at 07:00:10AM +0000, Jingle Wu 吳金國 wrote:
> The 0x19 is valid 3000 serial ic type too.
>
> Signed-off-by: Jingle Wu <jingle.wu@xxxxxxxxxx>
> ---
> drivers/input/mouse/elan_i2c_core.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index fee1796da3d0..7475803c6ce4 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -162,6 +162,9 @@ static int elan_get_fwinfo(u16 ic_type, u8 iap_version, u16 *validpage_count,
> case 0x15:
> *validpage_count = 1024;
> break;
> + case 0x19:
> + *validpage_count = 2032;
> + break;
> default:
> /* unknown ic type clear value */
> *validpage_count = 0;
Applied both, thank you.
--
Dmitry