Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3322475pxb; Mon, 6 Sep 2021 18:49:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ2aqNOt+M2MQqqBi88t34yoteN1UJBuV2zhO+kd3pfcPKNUfNua32cZ5YPbyPEgIbgWND X-Received: by 2002:a6b:296:: with SMTP id 144mr11795177ioc.114.1630979351381; Mon, 06 Sep 2021 18:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630979351; cv=none; d=google.com; s=arc-20160816; b=bgbn0pbQUTX+OWZk/2kzMy0aAvyLhtxSlD6eeGDzg3r1YpOpz1oUNM2Mz56DnQjfXA QtmQvDRn2yOUgnXVH+t2YFmDryM57ztTtZjoxYUJrh8fuOwpG8OZHBlyUgWYHLR3NsfA i7Lgm+UOtl6xrIfocuzolR7Lta78B3Vv/Y7/SU9kmkrh9QWDSYtG5sAnumet7gAYErDZ 8zKHVKqgwtELdY/JQkIzzR6uMpOMy0UXL624w/aek98W72/1N71nVrs1huSPpBlpp44E hKlGUCknGPR1xPngPliEu5BSCOEzK1GwZQuIbwLInPNTnTKAw7ruQkrDBEf4jxZkww2Q MpAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dDMjSadNjks3pn5Gc7PhJ6HPt2XQgYDMt4ToyFUJHTQ=; b=AgX6LVfOFV9jxq6GLez4j6yLGtbKYNAUpMJsJq00mIUCuv9Tp3BjfYa9pZqi4vmWpn gmgUSMTEIOalHR802pXXMq5LN5MFrXWyTzpDlozyH4FNS9kfUCjQi+GgyqZck28HEHxp USLv6LPIa8WwQDifu03mRpNYSRdKiv5UEDKfm3lyXK44W5G1V4vxDMaQSK5/TpQD8iKD BGx0PBofl9zM6B4yKZz6KQCACYAj9eQ/3HZWsigdxDOPZvmV6BdSnpaF/TQldc/kStKT +iq+nBp9m0njK8QgaTyQNvcBVBWj63N+uzsIsSE7/2+4/CMDnkCjuto4r5xSjhnQX9up +j+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o29si9039179jac.75.2021.09.06.18.48.58; Mon, 06 Sep 2021 18:49:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232664AbhIGBkZ (ORCPT + 99 others); Mon, 6 Sep 2021 21:40:25 -0400 Received: from emcscan.emc.com.tw ([192.72.220.5]:13493 "EHLO emcscan.emc.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbhIGBkY (ORCPT ); Mon, 6 Sep 2021 21:40:24 -0400 X-Greylist: delayed 591 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Sep 2021 21:40:24 EDT X-IronPort-AV: E=Sophos;i="5.56,253,1539619200"; d="scan'208";a="42603910" Received: from unknown (HELO webmail.emc.com.tw) ([192.168.10.1]) by emcscan.emc.com.tw with ESMTP; 07 Sep 2021 09:29:27 +0800 Received: from 192.168.10.23 by webmail.emc.com.tw with MailAudit ESMTP Server V5.0(128811:0:AUTH_RELAY) (envelope-from ); Tue, 07 Sep 2021 09:29:27 +0800 (CST) Received: from 218.161.27.213 by webmail.emc.com.tw with Mail2000 ESMTPA Server V7.00(2474:1:AUTH_LOGIN) (envelope-from ); Tue, 07 Sep 2021 09:29:26 +0800 (CST) From: "jingle.wu" To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com Cc: phoenix@emc.com.tw, josh.chen@emc.com.tw, dave.wang@emc.com.tw, "jingle.wu" Subject: [PATCH] Input: elan_i2c - Reduce the resume time for WHITEBOX Machine. Date: Tue, 7 Sep 2021 09:29:24 +0800 Message-Id: <20210907012924.11391-1-jingle.wu@emc.com.tw> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Singed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 1 + drivers/input/mouse/elan_i2c_core.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h index dc4a240f4489..84b4a678b482 100644 --- a/drivers/input/mouse/elan_i2c.h +++ b/drivers/input/mouse/elan_i2c.h @@ -59,6 +59,7 @@ #define ETP_PRODUCT_ID_VOXEL 0x00BF #define ETP_PRODUCT_ID_MAGPIE 0x0120 #define ETP_PRODUCT_ID_BOBBA 0x0121 +#define ETP_PRODUCT_ID_WHITEBOX 0x00B8 struct i2c_client; struct completion; diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index dad22c1ea6a0..a3edf71982ce 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -108,6 +108,7 @@ static u32 elan_i2c_lookup_quirks(u16 ic_type, u16 product_id) { 0x10, ETP_PRODUCT_ID_VOXEL, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_MAGPIE, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_BOBBA, ETP_QUIRK_QUICK_WAKEUP }, + { 0x0D, ETP_PRODUCT_ID_WHITEBOX, ETP_QUIRK_QUICK_WAKEUP }, }; u32 quirks = 0; int i; -- 2.20.1