diff mbox

[1/1] hid:Fix maxcontacts problem on GeneralTouch multi-touchscreen.

Message ID 1351523077-2177-1-git-send-email-aroundight77@gmail.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

GeneralTouch Oct. 29, 2012, 3:04 p.m. UTC
Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen,modify driver for all GeneralTouch PWT touchscreen.

Signed-off-by: Xianhan Yu <aroundight77@gmail.com>
---
 drivers/hid/hid-multitouch.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Jiri Kosina Oct. 29, 2012, 8:34 a.m. UTC | #1
On Mon, 29 Oct 2012, Xianhan Yu wrote:

> Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen,modify 
> driver for all GeneralTouch PWT touchscreen.

Could you please provide some more verbose changelog, like what is the 
problem, why the original code was wrong and why the patch fixes the 
problem?

Thanks.

> 
> Signed-off-by: Xianhan Yu <aroundight77@gmail.com>
> ---
>  drivers/hid/hid-multitouch.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index 3eb02b9..7afeb77 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -210,8 +210,7 @@ static struct mt_class mt_classes[] = {
>  	},
>  	{ .name	= MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
>  		.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
> -			MT_QUIRK_SLOT_IS_CONTACTNUMBER,
> -		.maxcontacts = 10
> +			MT_QUIRK_SLOT_IS_CONTACTNUMBER
>  	},
>  
>  	{ .name = MT_CLS_FLATFROG,
> -- 
> 1.7.9.5
>
diff mbox

Patch

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 3eb02b9..7afeb77 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -210,8 +210,7 @@  static struct mt_class mt_classes[] = {
 	},
 	{ .name	= MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
 		.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
-			MT_QUIRK_SLOT_IS_CONTACTNUMBER,
-		.maxcontacts = 10
+			MT_QUIRK_SLOT_IS_CONTACTNUMBER
 	},
 
 	{ .name = MT_CLS_FLATFROG,