From: Jingle Wu <jingle.wu@emc.com.tw>
To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
dmitry.torokhov@gmail.com
Cc: phoenix@emc.com.tw, josh.chen@emc.com.tw, jingle.wu@emc.com.tw,
kai.heng.feng@canonical.com
Subject: [PATCH 1/2] Input: elan_i2c - Add ic type 0x11, 0x13, 0x14.
Date: Tue, 14 Jul 2020 06:56:33 -0400 [thread overview]
Message-ID: <20200714105633.15099-1-jingle.wu@emc.com.tw> (raw)
Add ic type 0x11, 0x13, 0x14 page sizes for update firmware.
Signed-off-by: Jingle Wu <jingle.wu@emc.com.tw>.
---
drivers/input/mouse/elan_i2c_core.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index 3f9354baac4b..e90beada0ecf 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -126,6 +126,15 @@ static int elan_get_fwinfo(u16 ic_type, u16 *validpage_count,
case 0x10:
*validpage_count = 1024;
break;
+ case 0x11:
+ *validpage_count = 1280;
+ break;
+ case 0x13:
+ *validpage_count = 2048;
+ break;
+ case 0x14:
+ *validpage_count = 1024;
+ break;
default:
/* unknown ic type clear value */
*validpage_count = 0;
--
2.17.1
next reply other threads:[~2020-07-14 10:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 10:56 Jingle Wu [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-10 5:40 [PATCH 1/2] Input: elan_i2c - Add ic type 0x11 0x13 0x14 Jingle Wu
2020-07-12 6:08 ` Dmitry Torokhov
2020-07-13 1:47 ` jingle
2020-07-13 2:53 ` jingle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200714105633.15099-1-jingle.wu@emc.com.tw \
--to=jingle.wu@emc.com.tw \
--cc=dmitry.torokhov@gmail.com \
--cc=josh.chen@emc.com.tw \
--cc=kai.heng.feng@canonical.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phoenix@emc.com.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®