Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1234584
| From | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus |
| Date | 2015-09-29 02:20 +0200 |
| Message-ID | <qdQOe-6TL-17@gated-at.bofh.it> (permalink) |
| References | <qbH2H-5WB-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
--
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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus duson <dusonlin@emc.com.tw> - 2015-09-23 03:30 +0200 Re: [PATCH] Input: elan_i2c - Add all valid ic type for i2c/smbus Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-09-29 02:20 +0200
csiph-web