Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp696385ybs; Sun, 24 May 2020 18:40:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0HyZX4Gtf0+Q2/rBS9PASB/GIgDM1SW22UUUvn80smjCVKgPeLwOpE8ioy3jm/oQ4BLVw X-Received: by 2002:a50:9e48:: with SMTP id z66mr12642735ede.388.1590370829725; Sun, 24 May 2020 18:40:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590370829; cv=pass; d=google.com; s=arc-20160816; b=WpeIuvpSYIy9iT3GqqAZ6xveV3pFI49QJKEr2t68bBPY2kImbAaCkMCtWMvCf2UDJG wNwxQ4gy8A/LExLL4fGeYbZEDyGFzW02FxUNy+G/tbLoLKMkiCwIhH370R+tFfEa7Wlc VrLJmyp/zWhcyyYGHuRBvNe90t2ifSiaGmumzZ3JIx5dg/JU7oaGswIwMchYRRoPDQQC jvBvTksrP2Q2a1KNGdAoNt/6RPv+CU8jDFxrwTnCIFrOqH2ALx6uVMyqkgU+lxdb8uPA Q1wNR/AhRSQU4fEsnReAm1LFdtLewuTwxTm5LrlXMeZ+PaNujdLTkDFHIt6v5N+KZOdl Cnog== 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=nWB8xeDp0zWETM/9zU5P1VQL49/4BX9QTeqZaKyKh5o=; b=VTFwFwm2Gu3CHzliSP9TFvPHO82Jx7YSuXT1WPbqvp7s1mLMmWWEBSdkuMVGedTPQU rWV+rjEDUjnh9mdf1folZ1qalwinnE828BQRmPj+qsOIVK1bCDYJmm0GuY2mXrvPMi5F W5B/OdK6OgxV8G9cHp0vlVDqrePOk6Fo+mHQsg8m1EUFS5CaUH6GWqaRND3NW82nFfAT oU1CYY9D8HHKORhYjhlkICuajyo2XLQadYJoAtXxBGSxeIEU76r7pD9yv2LTy+eS4OPe ZYg44Tlp7v0leu9bL9rzFiF/wJMBEgfCl3P3zY+HH8lAWIzhEIMrhIa2K7Dg+KMWjhLI QsSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=sd09yhOs; 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 a25si9055209edb.112.2020.05.24.18.40.07; Sun, 24 May 2020 18:40:29 -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=sd09yhOs; 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 S2388352AbgEYBgY (ORCPT + 99 others); Sun, 24 May 2020 21:36:24 -0400 Received: from mail-eopbgr20072.outbound.protection.outlook.com ([40.107.2.72]:47854 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388054AbgEYBgY (ORCPT ); Sun, 24 May 2020 21:36:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HiX7rs9PqF9KglRAWToYPyhf7pE4ZdfljLzXZ0MpDJ6k6npqqXtIbf3/XD+6EAyfWsDm0cnnWll3UG2Hhec9/QIpPDpuhY1+PyHPQznyU6K/cNE+kQIop6/OzcSyInO3k9MlQhD7zU4A7SgSpQL7AMXiI+oc/BFi+raq7eVjbWAXMmvMw4m01lpGFSIAt8HoUIcLic7SaL5y8831iXGUPag2R2TtsL5IFxHUIrfyR2oukJOwVyiSRRuqY3pC4+rJOCDyyyQq1OrM9XEnk8i9e65veytfn8633qa15LkegVuJGAs0Xuh28ieYYEIOAXcdOcwmHAKJHlS+XynIx2arPQ== 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=nWB8xeDp0zWETM/9zU5P1VQL49/4BX9QTeqZaKyKh5o=; b=kppLtSwdwfDO0ATYEaXYCBarWPambnxgXumJpi9eyuSJ3tWWY8cbN6387c26iK4OolHA6S/uDyt5bGGMEQW84jozvn3ga2/UEJHfrNSbnZuLaOG2gR0gd92CSjW7JdzFwk/0l+RMtYkzBtZn31M+mfL1NyprAjvailnCIIx9Apfbd+EDluA5gPx9Yg6Y5D8OAcy/PWnCkJ/mfTsOyy2pQCNokE/rgPIqzOpKmHOrtSNvG312kDIgJNvRVfDSSIr2iWW8nEOaEhxWj3STAR33cbGdjLKOyiOgSbpgltwuncSeTveYBwn91K4+sVEoc7XhnAeyDXRgDZEMUnLVFMdbJw== 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=nWB8xeDp0zWETM/9zU5P1VQL49/4BX9QTeqZaKyKh5o=; b=sd09yhOsIiC84XFSgoBMUvKurY3YWE429aU9Li6HxehrANMb5rZPfqomtja9pdJ4GvTR1NYsNcoVPJX4ayu4Adcguvf4lem381u18ByL0prM5RUlKOoXLZzbYlFhAoZrkfFeSg8PbxBIxX6H1fUtVGACTKnEdmcersUaKtYKO40= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB8PR04MB6875.eurprd04.prod.outlook.com (2603:10a6:10:11f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.26; Mon, 25 May 2020 01:36:19 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::7564:54a2:a35e:1066]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::7564:54a2:a35e:1066%9]) with mapi id 15.20.3021.029; Mon, 25 May 2020 01:36:19 +0000 From: Joakim Zhang To: Dinghao Liu , "kjlu@umn.edu" CC: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , "linux-can@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] can: flexcan: Fix runtime PM imbalance on error Thread-Topic: [PATCH] can: flexcan: Fix runtime PM imbalance on error Thread-Index: AQHWMB2MYA5dCmRv5E6bmmiK8TDkyKi4B0Gg Date: Mon, 25 May 2020 01:36:18 +0000 Message-ID: References: <20200522094340.18059-1-dinghao.liu@zju.edu.cn> In-Reply-To: <20200522094340.18059-1-dinghao.liu@zju.edu.cn> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: zju.edu.cn; dkim=none (message not signed) header.d=none;zju.edu.cn; 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: 2ff962ad-3508-492d-90e5-08d8004c0603 x-ms-traffictypediagnostic: DB8PR04MB6875: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1247; x-forefront-prvs: 0414DF926F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F7a7zwkrOVovD82nwcaASFW9YYD8eCZwCBnmlRjZcny/AaXbb2DFXP3n6+KdpiE2oiMy+ZpACe9hzJJfM8CFtzLCEuloRfP7TBaBP7weTxSUhnUK7sYEmCX4QriJKU3XdfP+4EBDJBCVZKWkUnmlASjx0GKzdrwKjL+LefApeRfXfSMIBLeLK/J0aljfxz3YHM7rK1JMtMVsA/XqONWJtCBIMcF0UjMkm0AcDCS5UfpgZTW9i1CussCLO0+YKNEzicAWFECIh65LNZ0msI2ZOvEuNE3wD2bqX4DFGAMxYAuPr1hZprhxzBMFsQn9wGQgTWGAFfQ7hJaxmfLENsVa3MEgDKZ9AQylAW/MlXgR56ZhlEKhDzQskDavSY6y4KZVCiAb9LRGVmYpLojHXUI7og== 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;SFTY:;SFS:(4636009)(366004)(39860400002)(396003)(376002)(346002)(136003)(4326008)(55016002)(33656002)(316002)(8676002)(8936002)(110136005)(9686003)(2906002)(66946007)(86362001)(52536014)(966005)(5660300002)(186003)(26005)(64756008)(76116006)(66476007)(54906003)(66446008)(66556008)(53546011)(478600001)(71200400001)(7696005)(6506007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: AcvVg6V9G+ccpCW6gVWkgEzM8JxumpZVaRS9gTP2EG0U8NJWiYENUX+kVjx5bX0wCbMosysrBKE//9xfBiippupSbn/vKZkzE1VKLptwQATfSn1XxW730OoUA3242AdDfGB64ngqo22XczheZ1UV8p5RJmr6qFqDpgItoUNUdQzG/giIfsywmvu8TFGQVto99AgnGOSaCA98OgHvofybAoansDImrQa6lmEenU1/YqjBTKYeh8ZYZ1DwaPkEx02wrHnlywmOnGk2jed3YneWpnEDdK/Z08LeV21HQkML3YZy+NhxvYhSTfwXF0VjsUbF34AOijtv/tHx6JpA9hA5yK3+t7cAUb2JzX//k7StWIQ/Xe2xT7UZRwd4rpkrZfyCroErRpBxFXBN8UWBty0hbFnU0vcYVNN3IcYO8JFBpa4s62rJ0AUyKWw/s09dJQsvvsjM3RxodcE9bev3iZ5rgja1fRGiY0kRpK0WmAdaS1Q= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ff962ad-3508-492d-90e5-08d8004c0603 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2020 01:36:18.9932 (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: umDhSrdo1fnSPb/dRphpnWcfZV4vUdsCJnVpYViJ4hPd2ErxYJNiLikRlW2S+l/NO/Bhk7OipXuEudv0AURvUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6875 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGxpbnV4LWNhbi1vd25lckB2 Z2VyLmtlcm5lbC5vcmcgPGxpbnV4LWNhbi1vd25lckB2Z2VyLmtlcm5lbC5vcmc+DQo+IE9uIEJl aGFsZiBPZiBEaW5naGFvIExpdQ0KPiBTZW50OiAyMDIwxOo11MIyMsjVIDE3OjQ0DQo+IFRvOiBk aW5naGFvLmxpdUB6anUuZWR1LmNuOyBramx1QHVtbi5lZHUNCj4gQ2M6IFdvbGZnYW5nIEdyYW5k ZWdnZXIgPH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