Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2880689ybi; Sun, 9 Jun 2019 23:44:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVFv1WdoDxeVuCJ7UATjrtd4FFOKXwNqDEGTmdWJ+B1k6D8G/BZc14lh5SBatjagfgAaUo X-Received: by 2002:a63:1b10:: with SMTP id b16mr14060653pgb.435.1560149089179; Sun, 09 Jun 2019 23:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560149089; cv=none; d=google.com; s=arc-20160816; b=KiM2+14lggS3pZcic9hjnb3O9GMlNv43XOt/Q4JPuTpdtDDHfgYbYpDa8auzYVzgph hjB6LIP6T+G+PFbCxP0Ju2s7gIMrmChK9yLU2568rtCB/quLsn8Ve8DocpGa1cb6Csy3 eYabDbGgXqVsMVFw7JaYaCUNRooTy348y+SdN1Jam91e1sttmNlklT+boaQ+EEzXUH4J ZPjyMVbi8+amSuyYeDfuX6QM1n8qfLo4qePqrNx1bkdj98QT5ljWaKbSLJ5Yg8e5HaT5 AvNRje/ZM3qPuJtiJM8gEOneefNcQDE0os0YnKnz2NOTUJ0PnEy9yx+ewfW3mCCt0em4 WJJQ== 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=QOw+8RG6TiPIg1IJb6MH9vPRw0/JTcOKgymZbG+4g+w=; b=QACDGH6P9gWwrDObeY0obOUmdGyPiZ8k1bXfOgYqbm3sl29b6umdh2YyQEaYo+F8Fq 3+jVUbg/VphWJMY/w3G+W5iDNUPpmT8gxZoBNsyqaMMt+znUZhHbn+hg6FnQd5fYYy9x 2VCjnU6Rx+A5Juop/kJwT6xZoV8h/j6On12d8L7uevPeDteX7+phgJj6Iq5EPOTdm8E6 4NFajaM2SW3AgzhfoFHFz8NfaeAkihiQ/rEarTvBR90BvPJT/zTxJ5q/iekwZoVBAMjS fIVZuES3uPjC34gjoYaf4KhMAgzd5GUdYB4Aha2BF1JEzHJvYr9O3w+DkLXig5x2OcYE yWsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Jaa9EAs0; 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 z21si8662669plo.386.2019.06.09.23.44.33; Sun, 09 Jun 2019 23:44:49 -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=Jaa9EAs0; 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 S2387822AbfFJGoH (ORCPT + 99 others); Mon, 10 Jun 2019 02:44:07 -0400 Received: from mail-eopbgr70072.outbound.protection.outlook.com ([40.107.7.72]:27780 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387655AbfFJGoH (ORCPT ); Mon, 10 Jun 2019 02:44:07 -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=QOw+8RG6TiPIg1IJb6MH9vPRw0/JTcOKgymZbG+4g+w=; b=Jaa9EAs0Gd9eTWUzWj5r2qfncsCKu5wscb3afSodq4qxW8dX5KmgUATyiXD+WGKXj4T0m1e+tcVeq0/sIKvugF7o3eFKjuI/JwAMtaeV+/ao4AZZjSA1FgLETIOW02Zo3dRvCcfz4WO8Tpo+8ympuI5aMfuL6BcznvsQv/YrmEA= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Mon, 10 Jun 2019 06:44:00 +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.1965.017; Mon, 10 Jun 2019 06:44:00 +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+CAH3eEoA== Date: Mon, 10 Jun 2019 06:44:00 +0000 Message-ID: References: <1554341727-16084-1-git-send-email-Anson.Huang@nxp.com> <20190521053047.GG183429@dtor-ws> In-Reply-To: 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: a9a2fc0e-032f-49b7-14c6-08d6ed6f0555 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3916; x-ms-traffictypediagnostic: DB3PR0402MB3916: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(136003)(396003)(39860400002)(13464003)(199004)(189003)(6246003)(54906003)(2906002)(446003)(53936002)(11346002)(25786009)(4326008)(476003)(7736002)(81166006)(68736007)(8676002)(486006)(5660300002)(8936002)(305945005)(1361003)(81156014)(316002)(52536014)(186003)(2501003)(44832011)(86362001)(26005)(229853002)(14444005)(66446008)(64756008)(66556008)(66476007)(66946007)(73956011)(9686003)(71200400001)(33656002)(76116006)(74316002)(256004)(3846002)(66066001)(55016002)(6436002)(6116002)(5640700003)(14454004)(2351001)(102836004)(99286004)(6916009)(478600001)(76176011)(6506007)(53546011)(71190400001)(7696005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3916;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: GDMYDNc4fAq9cl8nkO60D/tDt9ffV3JXVz0MuYtiGMR4VLQUPdus2f9dg6tIwa/G29tgq6coaBBek7dqkFk9fFnNm93LShCfnDmzeQfo4dYcGneXXfiuD20+s6gDemP7gWHx6z9UmVHwpBoB65j6yYTsnecxXtHQgfywFyYu/O/4hX2zrGaIlEnWZP+CiqWtS3IeX/+K4BEzVW8ey6aN19XcrT4ykcLeqv+5TumUIc7274mQBBNcMLpnmhQQLV6vHXrE15kMabd7e4gtEKuQ62etjl4lMlTMGqRXTRFCyfrA3TK9ycbht926R1VNKI6/pxyx4IfVR3wZ4jBC2hy2cVVLOgFQP68tizXJ5GiA8mlVtvxF8DVGHPOHTyHRweGpgB89QP/X5M0BsGdzVIgN5S2EdV2HOoF6d6ukeXWy804= 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: a9a2fc0e-032f-49b7-14c6-08d6ed6f0555 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 06:44:00.4919 (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-CrossTenant-userprincipalname: anson.huang@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3916 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIERtaXRyeQ0KCUFueSBmZWVkYmFjayBmb3IgdGhpcyBwYXRjaD8NCg0KVGhhbmtzLA0KQW5z b24NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBbnNvbiBIdWFuZw0K PiBTZW50OiBUdWVzZGF5LCBNYXkgMjEsIDIwMTkgMjozNiBQTQ0KPiBUbzogZG1pdHJ5LnRvcm9r aG92QGdtYWlsLmNvbQ0KPiBDYzogc2hhd25ndW9Aa2VybmVsLm9yZzsgcy5oYXVlckBwZW5ndXRy b25peC5kZTsNCj4ga2VybmVsQHBlbmd1dHJvbml4LmRlOyBmZXN0ZXZhbUBnbWFpbC5jb207IGxp bnV4LWlucHV0QHZnZXIua2VybmVsLm9yZzsNCj4gbGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZy YWRlYWQub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBkbC1saW51eC0NCj4gaW14 IDxsaW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