From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752215AbaL2QFk (ORCPT ); Mon, 29 Dec 2014 11:05:40 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:54313 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbaL2QFj (ORCPT ); Mon, 29 Dec 2014 11:05:39 -0500 Date: Mon, 29 Dec 2014 16:05:14 +0000 From: Mark Brown To: Zidan Wang Cc: "lgirdwood@gmail.com" , "perex@perex.cz" , "tiwai@suse.de" , "lars@metafoo.de" , "ckeepax@opensource.wolfsonmicro.com" , "Li.Xiubo@freescale.com" , "patches@opensource.wolfsonmicro.com" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Message-ID: <20141229160514.GQ17800@sirena.org.uk> References: <1418103916-31295-1-git-send-email-b50113@freescale.com> <20141222181045.GH17800@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3DRm6T3aFkHkz+Qz" Content-Disposition: inline In-Reply-To: X-Cookie: You have no real enemies. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 86.128.155.20 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [alsa-devel][PATCH v4] ASoC: wm8960: Let wm8960 codec driver manage its own MCLK X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3DRm6T3aFkHkz+Qz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 29, 2014 at 10:59:08AM +0000, Zidan Wang wrote: > Hi Mark, Don't top post and please fix your mailer to word wrap within paragraphs and avoid corrupting the mail it's quoting. > You are right. When PM is disabled, the codec will not work. But there ar= e also some codecs enable mclk in PM, such as wm8962, cs42xx8. > And some codecs enable codec mclk in i2c probe(), startup() and set_bias_= level(). It makes me confused.=09 > Can you tell me what's the general idiom to enable mclk. Thanks. Like I said in the mail to which you replied: > > This isn't going to work if PM is disabled (which is still a valid conf= iguration). The general idiom for this is that the driver should start up = with everything powered up then let runtime idle turn things off if they're= not required. That way if runtime PM is disabled then the system will sti= ll work as everything will just stay powered on all the time. --3DRm6T3aFkHkz+Qz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUoXu5AAoJECTWi3JdVIfQmXQH/j4WXFEcK4saPVHywEGNKHY5 pf3ld9S/yb8SdgNtKRuyMcYkHLZvf8sID4QmrijyLVDCFA78VtnXSrOO2KTvCK62 eSusKQbT6JRV0JDcgQim1GsUuaGu9aBor6GbddnYmL5OcRiL2Ym3xrg0JQWwidvb h5Ph4OQhxURnJzt0Thcl9R/qiOm+3MR/oCndpsz2/ccpCvMiOjgckkp1hxOcSNjY GeWeMrw0hLhjU1OpXsj3DY/dP1F4tv56JZ3pEnA06DquLUUmbDpE6E+Bq/JF5ff4 TDOiES0kloOQzqRCJilOMEcv73Yl7snHZGpFt9UAgqxWtUoHaeR9Gz+mKncU+Ww= =8kiq -----END PGP SIGNATURE----- --3DRm6T3aFkHkz+Qz--