Re: [PATCH 1/1] hid:Fix maxcontacts problem on GeneralTouchmulti-touchscreen.

From: Jiri Kosina
Date: Mon Oct 29 2012 - 04:34:09 EST


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@xxxxxxxxx>
> ---
> 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
>

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/