Linux Input/HID development
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: duson <dusonlin@emc.com.tw>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus
Date: Mon, 28 Sep 2015 17:17:47 -0700	[thread overview]
Message-ID: <20150929001747.GB30653@dtor-ws> (raw)
In-Reply-To: <A8DECB9C-843A-41B1-A3DF-965C7593ACB9@emc.com.tw>

On Wed, Sep 23, 2015 at 09:26:23AM +0800, duson wrote:
> Signed-of-by: Duson Lin <dusonlin@emc.com.tw>

Applied, thank you.

> ---
>  drivers/input/mouse/elan_i2c_core.c |   11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index 16ac595..357670e 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -98,16 +98,25 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
>  			   u16 *signature_address)
>  {
>  	switch (iap_version) {
> +	case 0x00:
> +	case 0x06:
>  	case 0x08:
>  		*validpage_count = 512;
>  		break;
> -	case 0x09:
>  	case 0x03:
> +	case 0x07:
> +	case 0x09:
> +	case 0x0A:
> +	case 0x0B:
> +	case 0x0C:
>  		*validpage_count = 768;
>  		break;
>  	case 0x0D:
>  		*validpage_count = 896;
>  		break;
> +	case 0x0E:
> +		*validpage_count = 640;
> +		break;
>  	default:
>  		/* unknown ic type clear value */
>  		*validpage_count = 0;
> -- 
> 1.7.9.5
> 
> 

-- 
Dmitry

      reply	other threads:[~2015-09-29  0:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23  1:26 [PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus duson
2015-09-29  0:17 ` Dmitry Torokhov [this message]

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=20150929001747.GB30653@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=dusonlin@emc.com.tw \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@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