Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3807933pxk; Tue, 22 Sep 2020 03:11:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaek8KCt7Vt8ymq6VV23KZRtwaG037ZhuIElL4aPj6Zj3TnRFAGbrSHsnGYUZacP/Q3bY1 X-Received: by 2002:a50:93e2:: with SMTP id o89mr3111642eda.378.1600769475926; Tue, 22 Sep 2020 03:11:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600769475; cv=pass; d=google.com; s=arc-20160816; b=R/Ojx818TwLYboyMtUVWMxamJxHESmUnGxwvTFpJV+jlIPSruTI3MAqYWMZ24BBB/e dpZJb7TExbrrSxFKKB25lRd9u095VsJTmooBbl/XpqEYNmUMVw9FQNOUSd0+dvtWJHtw FZ6VhaNU80tB0V1uL1kvnABuiOQlfSiHO+z9246qVSHqxDeSpwhTnKwzyrd2rt8AuULo V5cvd9nZ+ToVmRmZNECjkPIF4ajipFQVo/OF/KMWr5KHsjyL990HMzWDXejVFB7NGQ8X mubcUu3bS28mZhhPY6PmpwrZ3Ch3vJ4YKsvlgNEPFfe0XSLXh3BE/qMCXNPu0pBRyUW2 RyMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=cQ5WAPdJpvU38cuitYyr8KTnfymhJ7uWSSR+q6lGdNg=; b=KMGEukEP2+4GGF2kvMZ4qZjn1704Iztvbm3bzP/ofeQ4tETKCFFuL1h7yMSQi2vV3u tLGlMgWYjZ7lvJlrVrpZKf12yt7I6Kxxi7gW4dDmv+DQv7LEQjQIvWhLwTP93FSfmo6e sYuNmRMqFSH4huTCo/d5u/iGf06fx1q/vzmKXQk+esmkWkRx6Af6zrDOB3g4indFYXX2 hb6AydsupZM/wFScSyWBOoN90ZZsvrDxatyL+krSPenPz7vX5PMQriMow7yi55l/rZJ9 UIiY+8eo11RCaRv+wuSZca5hEtLDf9v9qSa5k6ig4cG6D5Xf5jhYENFUeLG+DXIrVFSq PH2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Ko54eEZc; 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 j26si567942edy.212.2020.09.22.03.10.52; Tue, 22 Sep 2020 03:11:15 -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=Ko54eEZc; 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 S1726562AbgIVKHa (ORCPT + 99 others); Tue, 22 Sep 2020 06:07:30 -0400 Received: from mail-db8eur05on2086.outbound.protection.outlook.com ([40.107.20.86]:58336 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726341AbgIVKHa (ORCPT ); Tue, 22 Sep 2020 06:07:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cRy/7u7GH6y+4mjdQGdVjMaY8ACcbZ49vtzXEWtfTF9srLk2D0q+j1ETBt9+tZ5NLNMLf6rrqGhMnJmvfPh+XTA9HqLuFGqoQxhutd/IaXEk2bieyD6BrObkp5FuTM+OPu+yq1Djs35UYq/SvbhsbXapYJhwx6CeJoRNl1riPF0MlE+OVGpcJ3SlODH2PFPVhMCYo3INU622NfsqDfFOkaXtNLE94GFcW1Phv7uzwNRF6zL65uRYdraONAeBO6Fu9jqZOGN1AywQHtVc5q8K+DUaqCpO5bVqsnHz5OBdvxltBVJzwa+W4jBYGLQL0F/ujvRZa3eiMWJj80nTcfaEIQ== 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=cQ5WAPdJpvU38cuitYyr8KTnfymhJ7uWSSR+q6lGdNg=; b=cxR1WAWybwy31urjmcciO5uPjTeJCBKySbcKN6tHFprNTNRO8U0eg1qHNEamv5DWD+EZ+61RWds4PFKHkdT8LXYJQNxKK8DWrzlznlU+R5VegEiFSzbBLYgoh0AjE4aZZKinlrfv07AZejsV1dCIpIX9j84xi9ms3kShv6bH8kAWyIyyQ+jt6cqwPn4EdaiffkodKdVIGJ5UvdP8WuzBf7IYzn2hFg2RliEHfbWLRzkd3SBu+YprzyVq0OVTSkDjqLeQJX4OhPR9ZW5WcVapkJYOvmDItVBuTxBE/NIsovyJXQZGWjSf7cyUjD/387P7pfFXj8Hsh5VT00jYRQXvng== 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=cQ5WAPdJpvU38cuitYyr8KTnfymhJ7uWSSR+q6lGdNg=; b=Ko54eEZcz93/vJFHzlpYdS5XLm8+wrdaBS+H3xOmPWk9Wcl84j/X5LfKIzx1gDwfuHw57BZi2qw87PzEqKzvD37vD3d38NxB6Yd1XRjxikrBvj4PSgoH6K6AFUMQlO/C/AvSw5C/ebTJQkPpKQ41OsXDWzjyYajtt6hDQC2dCvk= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB3PR0402MB3851.eurprd04.prod.outlook.com (2603:10a6:8:12::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Tue, 22 Sep 2020 10:07:24 +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.3391.011; Tue, 22 Sep 2020 10:07:23 +0000 From: Joakim Zhang To: Sean Young CC: "mchehab@kernel.org" , "robh+dt@kernel.org" , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V2 2/2] media: rc: gpio-ir-recv: add QoS support for cpuidle system Thread-Topic: [PATCH V2 2/2] media: rc: gpio-ir-recv: add QoS support for cpuidle system Thread-Index: AQHWjaTsxPl248PwT0GLsPkAhb6O2Kl0be+AgAAFGzA= Date: Tue, 22 Sep 2020 10:07:23 +0000 Message-ID: References: <20200918181717.24056-1-qiangqing.zhang@nxp.com> <20200918181717.24056-3-qiangqing.zhang@nxp.com> <20200922094157.GA14307@gofer.mess.org> In-Reply-To: <20200922094157.GA14307@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: 9aca065d-fc29-409b-36c1-08d85edf4d3e x-ms-traffictypediagnostic: DB3PR0402MB3851: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: plNlAS4sJv8zu+65XgCMYEEWnUDC7LI5r11P61T6sJ7O6zvQiCT+i/CQ6reW/WYG0ztBVERDuUFuirSFjTSc4/wUM9DkJQ65+ypQvgnO4yu25I/goqo32vVyuha3fso4VyG0+AiLD7+1MgPu5T1YRimcDpoLKCy4UlJgMeTKX/QQyYWmbqymVO74rIMVLBj1uWKvq/xOesJdQ0u3NFigWO0brEeN3sGV3eqIwTKEIsaIIgNbN84LNkba9uJqvaQJhYoVc6V+hbhgfHzyydDsVPd49olLOVHmyW0u+4yHlrxB5DZ1sx89ZBTrzIFUia02ZdX7zzmbzb6yJcKUJCY5aIyUTGXU+JYIEWyNeWhQm4U2A2sECxDZXjgFHt2omtsC 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)(136003)(376002)(396003)(39860400002)(346002)(366004)(83380400001)(53546011)(7696005)(186003)(33656002)(8676002)(26005)(8936002)(9686003)(86362001)(55016002)(6506007)(2906002)(52536014)(478600001)(5660300002)(54906003)(4326008)(66946007)(76116006)(316002)(66556008)(64756008)(66476007)(6916009)(71200400001)(66446008)(3714002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: KKk7ur1ktNb2guYehOZxh0WZxPBvpOZZ+L6ZRGk90pr224VK1vlE2RUbV7xqD1XwVlR3jY4w2X1pPoVujsxMscyUybg1w/PEELbxapdOIMCyA1cRBaHRmykDwi/i3ra31fw+derQZFC1d2ObUPaOecafmUzQ8s7fl2N79rrRXMZSkaksFXW23Kb7R924oRsoTOYmyPQMWisg5hxTh4uZ9E7FzZG20N6xd8R1aDRuIizL8L2Jd0CXsrr3Kc8hTro1O2M52/0sCkgBtqkKj3eUo34ao0QD+XRs1KNVP+maUqROz8QXDZeill0cEvIrwGpPqckiTo/kWxgdP9hG0mqWJm8G7RJasWnky5yt7Kr6STBnb8hlp1uX8zcWEwyxEymjf5/kDvO50ys1r6LhyOuxJHl0pd6XsXUQsZchk9R+MxuW6cCkWo+8Ss0XUcdHMQmJIq2qpYXDBfBiXZrDWvJrruX1L2lhxDQ0eMQUdFZM52Om1RbT3BXq9tLNN5Hk7OPZ64QzVqV1AShJoeQdWs7uClaulyfHjkxt3+dGL/Zm5kUukT1D/yqLDJFJSvh1jE/qtex9fymS322DV2dwr9QYirYyZP7WtgAGQBC4cD1dHSDR59zhdbJisXsSqw+NtqNSlkefM3u+iCAbwi0n+TyBaw== 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: 9aca065d-fc29-409b-36c1-08d85edf4d3e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2020 10:07:23.7584 (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: A/OfiJDUvQaD+CxSat1Zzfhv/z81lTDi6X/60LN1JvDC3RTT62IyGcgqG2IPTVu+FjAVq657VbNFdg0Z8dsyRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3851 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpIaSBTZWFuLA0KDQpUaGFua3MgZm9yIHlvdSBraW5kbHkgcmV2a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