Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp491544yba; Fri, 26 Apr 2019 03:52:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy1B5c31xT+Ms8+hI+qzqQlrGrYrwZ7L7VjYS9ha+6XI9Boc5PFGKj4X8ZYmC1Yn62ZZYJ X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr13666962plo.21.1556275947991; Fri, 26 Apr 2019 03:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556275947; cv=none; d=google.com; s=arc-20160816; b=HQnSXqNjwsv0mMq53u2jQl0BdnfI0r7qmQ/jX9+gYRkFH8jPknAZrBE9T/uLWMhlW3 VSdOoXtc5yXXuLKK+rFZCAUOGk7b6qCn/cWvjU5lyZ9zmbxyWnp+eU/kA/HutGxRCvX8 UuNODWD7UFNu47RkMvgNIu50SIYOwGkFuL/Y30KKsnt8Aq9QGcl1UkvHzgmCo7Lu8tle wlF5fwBo55Y+nJeK+uvOqlQpSIXTnkty3PC2jW33of5dPp3QRuwaWT8EVOA7IOnVHF+C bRpjRsObPvRAt9S9PUCHSoh/HVlsuwFH97NbpL+JqiT4eQpe2uJt9gglI9Yypsf/w8lj fq7w== 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=+kpa4DZFjHApjeOq5Uyop56mHymAHoyJKTKyHdALSlY=; b=xUCVQJPg1YS5FMJ6W2DTR0rCey5dkyZq+TJ93eiiYg5KbCWK9jYswkL7xugSyTpaNB VXOyKzjy5dyKhX6GFtG1iG539v2xEE8uLACf6LqOG8rRpVx+MUAqZGHq8Abrnfb5CZAb MVnnR0NYbbdLRpthPGrbgRUtCmBTweEUFbA3X0jfWeM/Tzdp+EehHPBh3We4JpRwqDcv Q06O8Xc1Qbl899Eg1JSY53lVvqx/Ns1CEaMGbPMjgM1QEIO5i1AY0QnePe+tiNUUD/0c KQxH8n3ci1z6X5GUWRRoHuXiZYTQnVE9caA3fDF9FY3+cnwkCKQeSrRMuUOD1RRdQCdW 6sGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jc14yonO; 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 q9si23353914pgv.542.2019.04.26.03.52.13; Fri, 26 Apr 2019 03:52:27 -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=selector1 header.b=jc14yonO; 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 S1726268AbfDZKvU (ORCPT + 99 others); Fri, 26 Apr 2019 06:51:20 -0400 Received: from mail-eopbgr00059.outbound.protection.outlook.com ([40.107.0.59]:34627 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725944AbfDZKvT (ORCPT ); Fri, 26 Apr 2019 06:51:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+kpa4DZFjHApjeOq5Uyop56mHymAHoyJKTKyHdALSlY=; b=jc14yonO59sM9GFWZ4L9qrWifLkg2y4wyZOigc36ADpXsmpqQSUAI41EKqDqOI7SsrV+DqhFzZKCNuFC7EXIQwOo7M+u5TzrWL16NFKzpwIKpken8cB4zUw0iWzLKLSQFyJTOcCUu2sZe3GOOQMmpZq3ygvDDB+WyVdNWELIM6M= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6608.eurprd04.prod.outlook.com (20.179.235.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Fri, 26 Apr 2019 10:51:16 +0000 Received: from VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311]) by VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311%7]) with mapi id 15.20.1835.010; Fri, 26 Apr 2019 10:51:16 +0000 From: "S.j. Wang" To: Mark Brown CC: "timur@kernel.org" , "nicoleotsuka@gmail.com" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "alsa-devel@alsa-project.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH V3] ASoC: fsl_esai: Add pm runtime function Thread-Topic: [PATCH V3] ASoC: fsl_esai: Add pm runtime function Thread-Index: AdT8HbMvSOaQ4ZXUSdmDjif4uXLhnQ== Date: Fri, 26 Apr 2019 10:51:15 +0000 Message-ID: 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=shengjiu.wang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 95928519-81a2-4eee-2700-08d6ca351b5e 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:VE1PR04MB6608; x-ms-traffictypediagnostic: VE1PR04MB6608: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 001968DD50 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(39860400002)(136003)(366004)(199004)(189003)(6506007)(7696005)(9686003)(186003)(5660300002)(66066001)(4744005)(97736004)(71200400001)(102836004)(71190400001)(6916009)(53936002)(316002)(66556008)(99286004)(64756008)(66946007)(81156014)(76116006)(14454004)(26005)(6116002)(66446008)(3846002)(486006)(81166006)(476003)(66476007)(73956011)(7736002)(478600001)(8936002)(6436002)(14444005)(4326008)(68736007)(74316002)(54906003)(6246003)(86362001)(55016002)(2906002)(33656002)(25786009)(229853002)(52536014)(8676002)(256004)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6608;H:VE1PR04MB6479.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: jJQ+nwNUQTF9eLCHITHHfWob7Z+Y22VTqM2Wp9DjqUQKpJ36VYzOo5PoSuajdsRFC8dSZ6JO4Kw7sci1vvLpR03Q0e35ysP3unh/ip2RL0wXq+D2ByR5kmymNib3+mwEe2KbK7CssdTNE93jFkCvY6w9/heJNOOmuRn3idc8M8PTkAflr6AaNqhGHQCUchKwOgh+GaynrF5x1Pb912DEGd7H2J9bfrdXf5iTga74KEN9LXduTNE8BTV7zIKQgM6eHkdo52JMJoKcPl/0O1ai0c06x+F5L+iVycZKajGQR+sGah2X/TS4e5NV583SjC0ljwtt6KYDutZLVijqbeVKBAWc72xmdxPyyn1wn3RFaW7SGRYFyhbLubiAtpgrYLPZQ1jJwKOi3prAS7FvtcTeL46kt1f19SHWl4XH8dRhFbY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95928519-81a2-4eee-2700-08d6ca351b5e X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2019 10:51:15.9945 (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: VE1PR04MB6608 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark >=20 > On Mon, Apr 22, 2019 at 02:31:55AM +0000, S.j. Wang wrote: > > Add pm runtime support and move clock handling there. > > Close the clocks at suspend to reduce the power consumption. > > > > fsl_esai_suspend is replaced by pm_runtime_force_suspend. > > fsl_esai_resume is replaced by pm_runtime_force_resume. >=20 > This doesn't apply against current code, please check and resend. Which branch are you using? I tried for-next and for-linus, both Are successful applied. Best regards Wang shengjiu