From patchwork Fri Jan 25 13:22:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 2044981 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E6556E0175 for ; Fri, 25 Jan 2013 13:24:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932376Ab3AYNXw (ORCPT ); Fri, 25 Jan 2013 08:23:52 -0500 Received: from mail-bk0-f48.google.com ([209.85.214.48]:63226 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932315Ab3AYNXs (ORCPT ); Fri, 25 Jan 2013 08:23:48 -0500 Received: by mail-bk0-f48.google.com with SMTP id jk14so232675bkc.7 for ; Fri, 25 Jan 2013 05:23:46 -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=0+CfZL6ADmTT2iBBdq57dWdBO/g0a45Gu/V/WWRW2s4=; b=hDhWYGmmj8T7Q1SuzLemglrxQqk5+XTQ4UoVe0+Ky5XuXKL+IMQ6ipjiqGM7m0rJsZ OQwhtaLU0ct7KG+sV1T2uG2f7eu3kAs8yJW5LQf9p8XBQDVrgv9Nm7X8p3VKmgUG6cdd qy/qS9i7RUBBDfU4uhGWtsv9NWi4bvdTXwgPuCBr88JKEp8BAmpbYJlfu3vjrzNRTNWA JMYzMq2+Zvaq3l2qvRkMkVx+ItLv7uX0YjQuGClqLq2PX440q1LiylTodAbWXTzO4e4w OWRQp3Qy1E+s5XQ+sdFyvHxlUMUR8nD8yUojtjEEx2Eba2i2YICVnqcv8YUiQT1WOlHl d7BQ== X-Received: by 10.205.129.132 with SMTP id hi4mr1779847bkc.133.1359120226628; Fri, 25 Jan 2013 05:23:46 -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.43 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Jan 2013 05:23:44 -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 08/25] HID: multitouch: optimize Cypress panels Date: Fri, 25 Jan 2013 14:22:53 +0100 Message-Id: <1359120190-18281-9-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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 199e320..c15b588 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -195,7 +195,8 @@ static struct mt_class mt_classes[] = { .maxcontacts = 60, }, { .name = MT_CLS_CYPRESS, - .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP | + .quirks = MT_QUIRK_ALWAYS_VALID | + MT_QUIRK_CONTACT_CNT_ACCURATE | MT_QUIRK_CYPRESS, .maxcontacts = 10 }, { .name = MT_CLS_EGALAX,