Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp342489yba; Thu, 18 Apr 2019 02:08:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZVk/jhZIh9dOJ1ot2NUCKSV5pPMmfiNyPS7KYsri6NHBBqfRJKR9+o7hJOeLJTPEcH7GB X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr5010057plb.330.1555578507235; Thu, 18 Apr 2019 02:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555578507; cv=none; d=google.com; s=arc-20160816; b=x1Cgijy+8GtuGTLxMZuC0jw5aQ7ZZ1XgLWCvo/qeaUTOEFRzEw3GrBTseVbC9DkkLt PsS1J8o1dp3JEO3KU9dN7byPq2cf45uo6YtAXyMhVEvg7b/8IfLT6qPGvgGAEhTATOVo NWChkHU12alGtYrKAlPqxdSvlcQnUXvgsIu/AfM1n5V9QmZ5jHutSuOe+xOp/j5hitoK TYfnJrB+JvCwxXnLvwvwib0vSjWV/jCF6dZ+hbwT9bLrIdvb3rSEl8eYsGXTvyGmFEGq h+Wh3vIL/n1q4zAOTCWW5PWBon3aeywqgyxSFTO03BR00ZRtIVWiRQrNGo3NRlVjvwIA PVyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3HIKo4TJ7arFeFGllVQWH4Zy1kee7tJAEJfaQEc9lqA=; b=kd9HoeLSoglVDDlVCRsLfrvuVs6jFW671O/QmjtU5SGLsiyLnoJPaZkk7aVIkTxBZo DpODZVOP1bmlrGMFRbNXC2nkWSq7ceBnOlfQfNb7qshunpcaLChoiub3kinKNYO/zNsL krX+c8LYz+3OdmcnwxUsVstN05i/z6+XqRckJACpY05PoJ8CXy7LMC/sG4qaQtAlkjL7 zSUExisRgI/39rHEceAOJj/4h8T9QPf/EHqZWQoS7njE7zbhL5nBN8tUMoBpkAjymX3h j/bkT9pRxEN0prNlf47NnZ3/VifmtKPqeH3FCtaeNgmaR/AGif5Xwh9YdyMWnCRA9vSB UV9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=t25R1zLC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a67si1413453pgc.80.2019.04.18.02.08.12; Thu, 18 Apr 2019 02:08: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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=t25R1zLC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388359AbfDRJGs (ORCPT + 99 others); Thu, 18 Apr 2019 05:06:48 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51752 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbfDRJGs (ORCPT ); Thu, 18 Apr 2019 05:06:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3HIKo4TJ7arFeFGllVQWH4Zy1kee7tJAEJfaQEc9lqA=; b=t25R1zLCLQQLYZao47Wzvqc6P 9q+MdBj3J0gRPa4hYzj6fh09E//7i+IuahGCg877ktcKJUsHvaLIlto3y3MpO9JwN7GIKj6aDi5AZ ZeT8syzGoVxzVX8FMWJkB9pmaOly+/cGtUTQUvy+8Kaoh9tst9dNq0VKefPpw6kyS3tLU=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hH30B-00013G-Es; Thu, 18 Apr 2019 09:06:39 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 63DC11126DA9; Thu, 18 Apr 2019 10:06:38 +0100 (BST) Date: Thu, 18 Apr 2019 10:06:38 +0100 From: Mark Brown To: Nicolin Chen Cc: "S.j. Wang" , "timur@kernel.org" , "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] ASoC: fsl_esai: Add pm runtime function Message-ID: <20190418090638.GA6702@sirena.org.uk> References: <1555558152-32196-1-git-send-email-shengjiu.wang@nxp.com> <20190418090011.GA4028@Asurada> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20190418090011.GA4028@Asurada> X-Cookie: A watched clock never boils. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 18, 2019 at 02:00:12AM -0700, Nicolin Chen wrote: > On Thu, Apr 18, 2019 at 03:29:09AM +0000, S.j. Wang wrote: > > In imx8 when systerm enter suspend state, the power of subsystem will > > be off, the clock enable state will be lost and register configuration > Just for curiosity, we had similar situation on imx6sx, so we > added suspend/resume with regcache. Why will the clock enable > state be lost too? Does CCM on imx8 (might not be called CCM > though) have any difference? What about clock rate settings? That sounds like a bug somewhere else - I'd expect that after resume the clocking would be restored to the state it was in before suspend. --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAly4PhsACgkQJNaLcl1U h9D0+Qf/Qb3ZB7++N4KWIotelaGoJliU91cFGeVtbV14n7Hb9xPZ3PzNlZBY9iYN zhzzBdDCqWV5btb21LZ8lCcFicsKQTJieKm6Ufjrnr7SJ/9pjoOuV4JnDZ6aFucA 1krwDMkcK/ZD4Dj+favuOXRQUQ892A1Km2dp1ihRlQTIVIRyubA/7F3PQdr8ZjQl 8sLhALAl7K5u5ylLUX9SItPTJSQeVxb7V+JaHCrmVpsYP1oSu3I77DHvHPKLNK7p JJe0CvyDco+KWEJ4VXnZVt/hkEyT8tvhlmAX37A+NxYxjyXdHQZYVNOn83FuWPo7 f2Krw/3Jy9Th/DZfw4A0/wLL+dMzDA== =OW6D -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--