From patchwork Fri Jan 25 13:22:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 2045311 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 B74D2E0175 for ; Fri, 25 Jan 2013 13:28:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932385Ab3AYNXx (ORCPT ); Fri, 25 Jan 2013 08:23:53 -0500 Received: from mail-bk0-f48.google.com ([209.85.214.48]:43147 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932316Ab3AYNXu (ORCPT ); Fri, 25 Jan 2013 08:23:50 -0500 Received: by mail-bk0-f48.google.com with SMTP id jk14so236382bkc.21 for ; Fri, 25 Jan 2013 05:23:49 -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=N1AMbZAZuB35Lupz5UVsINgw/62HNw1UrbN7mEqoUZQ=; b=ljv0ghYteJ0RwPt+VNTJs8AQnZ16eRGQTb7CqupzCZJctIDaUTCsenYohE2JoZmtKQ ZWq64PZAY4GgPnE9kNO5WRFCIgVhJqWVt/lMvmchqObAdHbsskXg2u5djOAndoR/kmRo ivU1NKpDPQDVIttn72iZ/iY0ZMet8pNpOkt3151MOiG7aT9NvZyHFb0JE4Exv4ucVWKS TYawagxNNJNsoIeUCRr0iTKLMvrRTcv0I0D9cSePhWSxptQpvH98nh0LnpTg0ZbT8Fnx Icg/fFPrCv3tRQbrW1DrGdK4UAyG5WU02MqLm5DKa9ENWCHPWJVJi6RFFsCv3ZxaTA3F ZzAg== X-Received: by 10.204.9.12 with SMTP id j12mr805733bkj.89.1359120229363; Fri, 25 Jan 2013 05:23:49 -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.46 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Jan 2013 05:23:48 -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 09/25] HID: multitouch: optimize eGalax panels Date: Fri, 25 Jan 2013 14:22:54 +0100 Message-Id: <1359120190-18281-10-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. So using MT_CLS_EGALAX_SERIAL is better than using MT_CLS_EGALAX. Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-multitouch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index c15b588..f715045 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1014,7 +1014,7 @@ static const struct hid_device_id mt_devices[] = { { .driver_data = MT_CLS_EGALAX_SERIAL, MT_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_72AA) }, - { .driver_data = MT_CLS_EGALAX, + { .driver_data = MT_CLS_EGALAX_SERIAL, MT_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_72FA) }, { .driver_data = MT_CLS_EGALAX,