Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55F52C433F5 for ; Wed, 15 Sep 2021 11:47:37 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8667C6128B for ; Wed, 15 Sep 2021 11:47:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8667C6128B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EBA3A17B1; Wed, 15 Sep 2021 13:46:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EBA3A17B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1631706455; bh=FDTUJMQvwOQU3pHsc7a6sibrkLGcxASVeRN2766qIFk=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=EUGe428ZatT4AhuBfDpDRuqNBussULEHzgnxSQwAxNF8ZChNFSNv78GLpqDzhP+yi uFU7irG09LBDRH0vooO6dhXPjft1suTx6BgpCxrUCHujjLRufLYaDPYm8RLUUORlkE dxyo8253YcdKiZshStlQs+aNpHbqaDFbB96FiCLY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7A690F80227; Wed, 15 Sep 2021 13:46:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DDCFDF8027C; Wed, 15 Sep 2021 13:46:40 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AFB47F80117 for ; Wed, 15 Sep 2021 13:46:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AFB47F80117 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A9iHYkT+" Received: by mail.kernel.org (Postfix) with ESMTPSA id 3B0416128B; Wed, 15 Sep 2021 11:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631706389; bh=FDTUJMQvwOQU3pHsc7a6sibrkLGcxASVeRN2766qIFk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A9iHYkT+QBLGVtL0IGgSYtHWYmPwsXMH98Ycw1Sdn6p6+ue7JsPmSHa0c9sjhLcge 2tlLa+ubvgPJzqFuCUj1FFsDzEi9yzgbsKucdOpnGqMFwHFci/9n1yCEzhaeNKyLfG WANooGcR0zDqE/hzJ5Lsdj/mWpK7RIbqVsKoa3z6EJ+HoIsQcK0R0uRPaoLSlmLh4o VGTyTPzPOpIDvbK2eWr3h80Zo6Vd6OhDBBGg7LVgM2Zh8dL54DMzLEurBvCQPiT30J u1IWbJnM2L+gZnrTx5wH4rgtlV/B52nTDmLMlDfvXSQ3l7hYMTsL9lu7zbMBmB4vpe KeX98iJQuU6Gg== Date: Wed, 15 Sep 2021 12:45:48 +0100 From: Mark Brown To: Seven Lee Subject: Re: [PATCH] ASoC: nau8821: Add driver for Nuvoton codec NAU88L21 Message-ID: <20210915114548.GB5389@sirena.org.uk> References: <20210824041647.1732378-1-wtli@nuvoton.com> <1651f0ee-5667-c7ef-9cb0-a648e2ad7d02@linux.intel.com> <20210824173237.GM4393@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: X-Cookie: Absence makes the heart grow frantic. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: alsa-devel@alsa-project.org, Seven Lee , KCHSU0@nuvoton.com, Pierre-Louis Bossart , lgirdwood@gmail.com, YHCHuang@nuvoton.com, CTLIN0@nuvoton.com, dardar923@gmail.com, supercraig0719@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --H1spWtNR+x+ondvy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 15, 2021 at 11:50:56AM +0800, Seven Lee wrote: > On 2021/8/25 =E4=B8=8A=E5=8D=88 01:32, Mark Brown wrote: > > I've been asking for documentation of what's going on with the locking > > on every revision of this so far to no success. As far as I can tell > > the driver is doing something weird where it needs to take and release > > the lock in different contexts which doesn't work with the kernel's > > mutex implementation where you need to take and release the mutex in the > > same context. > Currently, we have deleted the semaphore and actual measurement. We plan = to > remove the semaphore after estimation and discussion. We estimate that the > operation time of jack detection is less 100ms so that the risk is much > smaller. OK, that sounds good - we can always revisit later if needed. --H1spWtNR+x+ondvy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFB3OsACgkQJNaLcl1U h9AMtQf+Nob2O4OpscjQDoA+5JP4Cf4EKH9DwSdGKK330o/lppdy8u+CGftv8scl jfets9YtBeQ4Hn9ESbbeAHM/ZubbMKEPDn4BVF7SWoOxWsXupMnwTbDMKrNuRk7m q528P1rOkjOiChUiiqEd2uoJAhDA/eNGngZnuqCN6YP4FQy5T+EIMOX5MIm3r1xX qgm8A8qbdOFZ2EYVD8GG4Gop69DK58SpaQiuN+0ZMY0Iq8qHuUjdY0sFbACbvcGu Hl7QauOhRkS99Jvo/+yVjwktP0d2FFgfM8f3F4pEM8/6ogdWs+4hT5f7p+XNu++R ullFSzPHpooruHohI87YaFaa35f3Og== =6Rso -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy--