From patchwork Fri Jan 25 13:22:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 2045381 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3E1503FD1A for ; Fri, 25 Jan 2013 13:29:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932363Ab3AYN27 (ORCPT ); Fri, 25 Jan 2013 08:28:59 -0500 Received: from mail-bk0-f53.google.com ([209.85.214.53]:39874 "EHLO mail-bk0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932340Ab3AYNXn (ORCPT ); Fri, 25 Jan 2013 08:23:43 -0500 Received: by mail-bk0-f53.google.com with SMTP id j10so235373bkw.40 for ; Fri, 25 Jan 2013 05:23:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=TEPZAqNl1o+Ug+nKXvO81pv0OPXE5mR/MErPurPsxAI=; b=v+QFN4HGDqh40QHt4KgjwVnMbnoUfnWddmCHdgrbY0eM0sRPLF/up86+Ex26qNAEWx xUkvstJJ32BpXlaCLA1eDMug3n86AThltH3q0SHgXHvIc5AJkX4Z1Ns68vPBZzFmijKI uearEN/r7W2fQj1a5KoydUd9fvDqMKfIBQSQsF1U5LwQAzDnDko7yVbblkiXNCzgZrsX nURxwHO9520aMGIUTUZV5SqTtvut6ST04bshvxITvm/p2OgfwjqndHYR/1W1k878tcoj cnUc7VOHKVLj+Su+5Z35x7141tqjXv/Sv09dDaIx+OVSGngtI4HqVaYfo1UgMWTBhlZc MD4g== X-Received: by 10.204.149.26 with SMTP id r26mr1838799bkv.71.1359120221608; Fri, 25 Jan 2013 05:23:41 -0800 (PST) Received: from localhost.localdomain.com (lan31-8-82-247-176-67.fbx.proxad.net. [82.247.176.67]) by mx.google.com with ESMTPS id hu20sm759377bkc.12.2013.01.25.05.23.39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Jan 2013 05:23:40 -0800 (PST) From: Benjamin Tissoires To: Benjamin Tissoires , Dmitry Torokhov , Henrik Rydberg , Jiri Kosina , Stephane Chatty , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/25] HID: multitouch: optimize FlatFrog panels Date: Fri, 25 Jan 2013 14:22:51 +0100 Message-Id: <1359120190-18281-7-git-send-email-benjamin.tissoires@gmail.com> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359120190-18281-1-git-send-email-benjamin.tissoires@gmail.com> References: <1359120190-18281-1-git-send-email-benjamin.tissoires@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Relying on ALWAYS_VALID enhance a little the processing time of the events. Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-multitouch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 5a886bd..7dfe891 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -229,8 +229,9 @@ static struct mt_class mt_classes[] = { }, { .name = MT_CLS_FLATFROG, - .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP | - MT_QUIRK_NO_AREA, + .quirks = MT_QUIRK_ALWAYS_VALID | + MT_QUIRK_NO_AREA | + MT_QUIRK_CONTACT_CNT_ACCURATE, .sn_move = 2048, .maxcontacts = 40, },