Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2843310pxk; Tue, 15 Sep 2020 03:59:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLwGl3sdZXlA/U10xLRgyNQBwPEWpsw+bGuCG8pO09ZK1OfxfRTyRUnBd0K/Qlna+4q3lb X-Received: by 2002:a05:6402:1bc2:: with SMTP id ch2mr21197694edb.60.1600167561035; Tue, 15 Sep 2020 03:59:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600167561; cv=pass; d=google.com; s=arc-20160816; b=Sjw1UP2oV5HVLsiSrdi72Q+CDOdEIEQPU7f/+OWjl90RHoV+lVcGXxpJjo9d9UwK0/ oOoqOYD74sxxl/5pHOFmdYUgnlqjwC2kqn3QRVREo0tYJNtOkAjBHuC45tjPbrorOOi3 /IcpUFW2LL/FQf+4s3pmiUp/zkDVYHKH6VgomZjmHi+KLGbqb+aagB+KnhGmvzHS+QQV Ty4tD7VIWT1Hv+zvkowkPWWRmkO78rwWxjlvWTDbHaut0VO/Jz9h7fzcWtAlqVKgOuRb HiYNN40o5SIphqcR/gziojL37JHzjIPCem8BeY3fd94tYrCFnakmarTz9quUSRgMix8R ftnQ== ARC-Message-Signature: i=2; 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=cIXyifNRxfkMMDSr7DO+QY66REWAnnXzazzdevZNHig=; b=hFEjxV8ytWLKNan9h/qtjRtp7JVOBqY93XrPPpxyQLePyixPEJenVzBP5af/9N3wUq pYUMlhrx2lXzn//q9tNJ+WlJfNA/jrfs+W9dm02rpzDYJc8A7oSteuPo3FD+FHZhGGft w6rmpJBSmmrDfBBgod8CNiwqusAOhbCSGCz06KcwbhpYMBgiJb0HXkP0/ohddi4BbWmt HCb+KUEu7L7bhXfg4w70An6geYOjJ1waZUfcQJyFu6ef2TS5HJb8vqksueqJHn6DiOn0 aogWdjFStOTLBdym3DRIWKTY8ixnOl+EtsBgLqFxXpOJ8JC7qXRqyC3Wt13sMcq3bvnZ tXTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hPZh9zCI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si9173424edu.7.2020.09.15.03.58.58; Tue, 15 Sep 2020 03:59:21 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hPZh9zCI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726267AbgIOK4A (ORCPT + 99 others); Tue, 15 Sep 2020 06:56:00 -0400 Received: from mail-eopbgr20058.outbound.protection.outlook.com ([40.107.2.58]:18311 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726265AbgIOKzX (ORCPT ); Tue, 15 Sep 2020 06:55:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nIUm6yQQ6aRk+MbTp84+R7itW3qx/EzzLvmR7REX7xc26LJ1EtAObWCZx/3F46UwLWem2ugir1TRX/pXGPYxtOX7mjWHMsCk+KoI7SGe0tXPZpk1GoAPktf8YEnGg/Qt36+XBrPjrBGP+hc71ujdMsSqwoeH/gj10P4G0jF5tDAZwLTXgyx7Frlt5FvAEdRJLD4ukTgKCXRJ3oQxzdmfDaZSD7X01nNEhUanGGUoHX0zKk89wYcremv94BX4+wLQWnQa7ZxAIPRrqxVG36vMvW7O3DU/zZi4TZ7Jzh4C6fgCE6JGE+wsi1UvB6Z+YGIFc52G8SZ8X2q7e9IGgJdu0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cIXyifNRxfkMMDSr7DO+QY66REWAnnXzazzdevZNHig=; b=FGpvGA7MUF2FINeeAkfSKamPhshSEj42veI5lO6BF+KKpfNXi2qzuUdy2Elk5WJNECYvCMkVbbuT3CZmTJlK1NV98gDFe3GJ+yLq4h2QqcSx9ZRKNLJNu/8kvV98X8RiiizqQHbfYrTz1zysceERJOOZwhQyu3raTv79GgrItkcgauVG4xAyMTgVTkGgStO3B9zFgUZr2oTrFwWVevrt9PnluNDwDdIZUwCB9ILnUgJl5KY++kiEt6NoH0sHsuBpJSa3RuYX4VHBQz7XAgEg4eKD2UcKlzNCFWfCS0uwUwERWSXarGvbZWQbEXrztr+zGZu4QbIca+/uYpTUJh/ucQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=cIXyifNRxfkMMDSr7DO+QY66REWAnnXzazzdevZNHig=; b=hPZh9zCI5NpswRnJjKSHnOGqFejOI47by/qzyvOPC3f6aUre+i1Gk46gV4XJywGsHxmZPdgEKK9QQELGRvae/BwmJ8Im4Zo35DbMkMI+5KarsbNmPmKvQDtT9xJfbMOY+18qYnNlUvHfFGKcfGC6efnKp4VNAU+vAHdhbw/raHE= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB6140.eurprd04.prod.outlook.com (2603:10a6:10:c7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.18; Tue, 15 Sep 2020 10:55:18 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::d12e:689a:169:fd68]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::d12e:689a:169:fd68%8]) with mapi id 15.20.3370.019; Tue, 15 Sep 2020 10:55:18 +0000 From: Joakim Zhang To: Sean Young CC: "mchehab@kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH] media: rc: gpio-ir-recv: add QoS support for cpuidle system Thread-Topic: [PATCH] media: rc: gpio-ir-recv: add QoS support for cpuidle system Thread-Index: AQHWiy4MW1TKQEfe6k2eA6q7pgHUfqlpcD0AgAAR0KA= Date: Tue, 15 Sep 2020 10:55:17 +0000 Message-ID: References: <20200915150202.24165-1-qiangqing.zhang@nxp.com> <20200915093342.GA24139@gofer.mess.org> In-Reply-To: <20200915093342.GA24139@gofer.mess.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mess.org; dkim=none (message not signed) header.d=none;mess.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 085b41c3-ea0e-473c-c74a-08d85965d572 x-ms-traffictypediagnostic: DBBPR04MB6140: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wBnfjC9B9hu0iMr2dsPGFBBmh3MFvlpZwL+XGiDbcGLnvTsNIsFOmpD6jalLi0gXaNqUyrPj7f0kBZvGDHuxso7Vm0ltKsfHXZwCcgMI0UodFUj40JUELZETYV7Hf5I0fcdjUUAXWSuGqjKzpK7kPSwli95YxotXaMFOleluKm7Ddpne2PpPBYCmIg9yhASImBe2ggd7qtsqG/W2JTWhHyXhz5GHZLFFVqOZmt31LM7gZJzpUtHcDFDz+T/6r3EtXqJ64/SPRD1L7HLEIZcSopyxh1vSZaUtk2KyUW7pze6EBHt6qdOsCnHUoXSHX7oQ6VARfrGAyGrbpyr+svFX5Y6FmO4/QeW9hSokvn34hy0t25ZRXQ7Ul4GrBa5TllzN x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6795.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(53546011)(6506007)(6916009)(86362001)(478600001)(2906002)(186003)(7696005)(26005)(9686003)(54906003)(4326008)(316002)(8936002)(8676002)(5660300002)(33656002)(55016002)(52536014)(66946007)(66476007)(66446008)(83380400001)(76116006)(66556008)(71200400001)(64756008)(3714002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: CiPta3v0a26MYZ3CLRpMKzFkwFZCYWrCa/cT+jTWiezI5UN0v4gqu/f03PKvmPgHEs6GqWJzTSH0+x+FJm5JUuQRID5rTi+/OlXLMfYWG1NJ7em+3NkhMlaN420XxFPK6PBJtL5mC+54jzlSL+8+BFZar421yit0NXeHN01ja2kCnqowr9sS0CKi3h3Z7Fxirxn7YifXVvaT2WuSRuHPcz/vddw5tK9amMldUqfPLT6FlySujsxaPaX4FwmB062UDasi6JZ38BdD+OXzm9g/L9j/HQklDwPZJ+h25jTly6YOAPaCuN4PhgdHikr7YhgOj6Z2QngyGz7B3uKk4e8vf2TH24719VJtIfADAcnqeBleIFJx9wOdeByN6wUkRGmqu/17VLuNDP5X1UL56YIuLpHxei9gEhQ6a3aQjBQ0f7rlNfZTu++YFBgsOrloV1JOxXCT7VbueOAyBG1zKJYUxQwLZ5DhFBpIwNME1IPd6DlbZJIE7RqkNOXyCDRm1KXd2igyGP2OwjOc4dpGovCsw+7jYwIUD6TZ1sMF6opR38Ngy4r3pmL+IOZQFZKy4u4zOXRrLvkUJNBixrM99Pu6sLrtRvou66TEg5/I+lZTvzOX/dzG51rX4heACjINII1im30RVG+MTXBIdv10C10k1Q== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 085b41c3-ea0e-473c-c74a-08d85965d572 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2020 10:55:17.9288 (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: X9QHOwmsuFtl2AWX6VyS4ys754j0PK7B9n3g/+Y7MqLFfkRIKKvizXS/L6u7GdrZ6fpHNjSe92T0S476aQFjFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6140 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpIaSBTZWFuLA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgcmV2aWV3Lg0KDQo+IC0tLS0tT3Jp Z2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206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