Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp595720ybm; Mon, 20 May 2019 23:39:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7KwaSxzJ2vi2Ar0aYWesSEESjupoTq0nJ8X+3aJdogg7lT8EP5QV7Ga7SmN+q5gPvScvU X-Received: by 2002:a17:902:24c:: with SMTP id 70mr35498443plc.119.1558420762635; Mon, 20 May 2019 23:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558420762; cv=none; d=google.com; s=arc-20160816; b=aGbB0G9nTzhwVeCf/vWt8IWnZ7nRYD86NccjDjGpDLYqUXt0YUhPo7hq7ojUhO2z3S CdRR/NNQ7B2hvUxYUkudax3sDNXvAyUdbw/dDMbfrtiwvCr/6lo9/kSRiTGN2igDLP0X ELJfB3bI/ibo5JdQFA2m/bwrL/cfWWXWsPxSCy+YfQjVI9iQXAtUcHg1YZUQIyOSIvHD 7GxVUGihd1HSrMSM8g8fG/+pxwtJLL9v1x00Ea3SBMRWP2PmrCUD8892h6OVaBpMCKty dF+aW//xGQIUcGBJmFBvp+fsBvS65zBg2cWVFYHNyti1cJYQMALo6Lp88i444Kp8POHo nIYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=39Mvynibad5W5A+Yu0zTE2Wge4YgwntWSNR6AYqcXKA=; b=mvEsrWbEJoESJluOeGs6gGs30enZimLcRdfrYV2Sqm2pYJyXH/PuzkjuI1QbqcBILw oD1nT7aZZLUM8FW/LKghRkU1ObBJVCNubFjttJyP1adFyapc2VmN2uXmvl5Q9PNxYhpS 2gfL6Qs5G4ZFbAd1Ycczf+17vO2jAsozFu4FuxrnajsDjJi5BXBKNsjTxhjpDNLbfS2o 8CUpk8EEacEaQ6l9Ac8tG6ulzbUwwW/MCN5eQApsy6e5SVLG1SIou3N2TasxVtmfyDcF 0kcZPNau7qGOkydMtWH2cxcG4jXqiIMf501xRhpyD4+siKAzXGjbdruw3iKwoVSW3MaA wCpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PCnrq34+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t136si22132387pfc.144.2019.05.20.23.39.07; Mon, 20 May 2019 23:39:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PCnrq34+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfEUGgX (ORCPT + 99 others); Tue, 21 May 2019 02:36:23 -0400 Received: from mail-eopbgr130083.outbound.protection.outlook.com ([40.107.13.83]:7681 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725790AbfEUGgX (ORCPT ); Tue, 21 May 2019 02:36:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=39Mvynibad5W5A+Yu0zTE2Wge4YgwntWSNR6AYqcXKA=; b=PCnrq34+z+kJQUgul6ldSQXLyH8tKypCY1f98HVyUzosIs1+yE+r4YgjhMeJtDqG2+gjarPUowaq9O0BPAsfjaKqfyhQgkvr8sQwebl3WPkUe/+xHfgME2Kya8knzCKtpdOmYUstfvUuRRHetYNriZgiwl3ZmAm1GWhSCKU3CXM= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3804.eurprd04.prod.outlook.com (52.134.73.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.17; Tue, 21 May 2019 06:36:17 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::5835:e874:bd94:fec]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::5835:e874:bd94:fec%5]) with mapi id 15.20.1900.020; Tue, 21 May 2019 06:36:17 +0000 From: Anson Huang To: "dmitry.torokhov@gmail.com" CC: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-input@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [RESEND] input: keyboard: imx: make sure keyboard can always wake up system Thread-Topic: [RESEND] input: keyboard: imx: make sure keyboard can always wake up system Thread-Index: AQHU6odaZd/8EWsin0yXXO1zjKS4q6Z1V6CAgAALV+A= Date: Tue, 21 May 2019 06:36:17 +0000 Message-ID: References: <1554341727-16084-1-git-send-email-Anson.Huang@nxp.com> <20190521053047.GG183429@dtor-ws> In-Reply-To: <20190521053047.GG183429@dtor-ws> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1d536b2d-5bfd-464c-5d03-08d6ddb6a0e0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3804; x-ms-traffictypediagnostic: DB3PR0402MB3804: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0044C17179 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(39860400002)(366004)(136003)(13464003)(189003)(199004)(2351001)(316002)(54906003)(14444005)(53936002)(25786009)(14454004)(256004)(6246003)(478600001)(4326008)(68736007)(76176011)(6916009)(99286004)(26005)(7696005)(6436002)(2906002)(55016002)(8676002)(81156014)(81166006)(5640700003)(52536014)(8936002)(305945005)(229853002)(86362001)(7736002)(3846002)(6116002)(486006)(1361003)(102836004)(33656002)(11346002)(44832011)(186003)(53546011)(6506007)(446003)(476003)(66066001)(74316002)(71190400001)(71200400001)(2501003)(66446008)(64756008)(66476007)(66946007)(5660300002)(66556008)(73956011)(9686003)(76116006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3804;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LlAk3KZDgiq0AKNLCRWcPOTQyDMSK2ogSGQIim24BbMQDNLrq4Xl+F6rMfRZPaTEmOp0sNFrRriiah7whz4YJw1dJ0yTDyJ6v0Zp7YxcnbKyDvNZgulUStJfdQzjjrhxsdbAl7zbn/MOr5wAHveBNxmr3LhY8Cbi/Bx971Fdt7cfxtwUz7X5yL8Gm9JFaGotACIFQ6fEFAlcTaf5t9xgEkpcl2TCUJuAB3NVh1y6RBlI6W3KTezRP2hoLe8bERsuKo88rB5jR+aj5SWTmqyaLS8BDmPeiDiyOiIUhNc0C4uLkjHq+bfOmcUQvAELgvw4yvmIBTsUrz79NipaqWzxq7e2LA1vBK0/iea5iTtB7DGfF8T0THHh0RpTSz2SdS2kVz2jd87drI2BDHwtPGEYBDcZ2QoLndxr1HiGE9PFkEs= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d536b2d-5bfd-464c-5d03-08d6ddb6a0e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2019 06:36:17.1029 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3804 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIERtaXRyeQ0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRtaXRy eS50b3Jva2hvdkBnbWFpbC5jb20gW21haWx0bzpkbWl0cnkudG9yb2tob3ZAZ21haWwuY29tXQ0K PiBTZW50OiBUdWVzZGF5LCBNYXkgMjEsIDIwMTkgMTozMSBQTQ0KPiBUbzogQW5zb24gSHVhbmcg PGFuc29uLmh1YW5nQG54cC5jb20+DQo+IENjOiBzaGF3bmd1b0BrZXJuZWwub3JnOyBzLmhhdWVy QHBlbmd1dHJvbml4LmRlOw0KPiBrZXJuZWxAcGVuZ3V0cm9uaXguZGU7IGZlc3RldmFtQGdtYWls LmNvbTsgbGludXgtaW5wdXRAdmdlci5rZXJuZWwub3JnOw0KPiBsaW51eC1hcm0ta2VybmVsQGxp c3RzLmluZnJhZGVhZC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGRsLWxpbnV4 LQ0KPiBpbXggPGxpbnV4LWlteEBueHAuY29tPg0KPiBTdWJqZWN0Oi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