Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751511AbbFLKeR (ORCPT ); Fri, 12 Jun 2015 06:34:17 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:54621 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbbFLKeQ (ORCPT ); Fri, 12 Jun 2015 06:34:16 -0400 Date: Fri, 12 Jun 2015 11:33:49 +0100 From: Mark Brown To: Zidan Wang Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de, ckeepax@opensource.wolfsonmicro.com, lars@metafoo.de, patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Message-ID: <20150612103349.GE1921@sirena.org.uk> References: <880838f666b591f5ffb0de1e39df5e3734846246.1434020423.git.zidan.wang@freescale.com> <20150611162028.GT14071@sirena.org.uk> <20150612063231.GA23608@shlinux2> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+JUInw4efm7IfTNU" Content-Disposition: inline In-Reply-To: <20150612063231.GA23608@shlinux2> X-Cookie: Reunite Gondwondaland! User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 92.40.248.4 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error 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 Content-Length: 1437 Lines: 38 --+JUInw4efm7IfTNU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 12, 2015 at 02:32:33PM +0800, Zidan Wang wrote: > I have done some test today, and found that after mclk enable, we should delay > at least 150ms to prepare the jack detect function. So no need to move mclk > enable to startup. No, this makes no sense - jack detection is not related to playback at all. The system should be able to detect if something is connected at any time. What this says is that you need to keep MCLK enabled while jack detection is available. --+JUInw4efm7IfTNU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVerWMAAoJECTWi3JdVIfQ884IAIDHwOTPor+QtQieXlLBo5QH LNBhHsPE5Oq0wym3T7kTkFmrMT3ZLCti3fx+u8VXAUOjxw1ZGF7oupIe3luabGJL bcNzB8hZXGejfMOkMEc4/kRhPN2T26DvLzULrXwqnuPg1bxn6TRqDCZhoC3WDHXz HMtJlBsTb5AYYWNgFyctWm54VjsytRLZ5vi8Ko/EpW2IaIP9akTkN2TknAZoNR9M 2f3wOo87xRERUtRgYoxabt2ESlsB/o6Xn/Ihi5WuMmWcIWgbj6WhwZfl2PehAdz0 JCPtfSgBMcVybJjZsGUpqtsgM+FwrwswnrWsTPm3pa3wT08r0uHycsBq9QusKbs= =HTiV -----END PGP SIGNATURE----- --+JUInw4efm7IfTNU-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/