linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michele Curti <michele.curti@gmail.com>
To: dusonlin@emc.com.tw
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org,
	Michele Curti <michele.curti@gmail.com>
Subject: [PATCH] Input: elan_i2c - fix X205TA iap version
Date: Sat, 12 Sep 2015 09:24:44 +0200	[thread overview]
Message-ID: <1442042684-748-1-git-send-email-michele.curti@gmail.com> (raw)

After commit commit 58f1eae48e53 ("Input: elan_i2c - use iap_version to
get firmware information") the touchpad on the Asus X205TA does not 
work anymore, iap version is 0, so modify the switch-case index.

The 0x08 case was added for the X205TA in commit 534fcb3bdaab ("Input:
elan_i2c - enable ELAN0100 acpi panels")

Signed-off-by: Michele Curti <michele.curti@gmail.com>
---
 drivers/input/mouse/elan_i2c_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index fa94530..c40a02d 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -98,7 +98,7 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
 			   u16 *signature_address)
 {
 	switch (iap_version) {
-	case 0x08:
+	case 0x00:
 		*validpage_count = 512;
 		break;
 	case 0x09:
-- 
2.5.1


             reply	other threads:[~2015-09-12  7:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12  7:24 Michele Curti [this message]
2015-09-12 16:14 ` [PATCH] Input: elan_i2c - fix X205TA iap version Dmitry Torokhov

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=1442042684-748-1-git-send-email-michele.curti@gmail.com \
    --to=michele.curti@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dusonlin@emc.com.tw \
    --cc=linux-input@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).