Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1599744pxb; Mon, 22 Feb 2021 06:20:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwU/ttqjiqLxJx+b6qHjNy3cMhmjj1VyQ0dXTRpfijwEKzAiAZHE3Lw3UMd2fZQbG64PGdm X-Received: by 2002:aa7:c843:: with SMTP id g3mr23038976edt.228.1614003634234; Mon, 22 Feb 2021 06:20:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614003634; cv=none; d=google.com; s=arc-20160816; b=t/tK07Jl5Gg6Ky2oGU2hb97maKhQL3DC6xlCNZk4wT13m+AAjVIDeMPCtPRle0vCkz HnKSznq40ljtypOmNKLDquriuN5YTHQG3oJA5L4u+Tz/Ast4iuv+INasDJ3VLS7PKbyz TFgfQjAp+EqhkzurL75wtFl8BlQMTpAuXCILf3coXw9pCVA1m4dZwv0P0RkLX8xAmma4 8eX/G3Cd+lpe/J1EeAKvJHxdWeYMP1dr2ET//eN1KqfPQ0hz4mfq524jfi9TOG3/Usk5 dyyTh9Y9+0/dbPpbCvXGfGSYF0ue1Nkbvx9kpcYSuuRKW/MCfxuj/YqoYr71naiXTlzX fPJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XCrkV1b4eW72wlwlFGJM+fGMWXYsc1qnWdLhx0MpYXA=; b=ZdRGpZgHUTUqvZ4A2QJqRYLnQt7M2QiN2TEsCaprgpqE+BWVJGTbLkhnL6/ohi1JU+ uvCYQfW0qJsqOIHz9sRftkOjgKEjzIxoY8dMGOMx8wtb/ZZujxM57Ioa+++FflFNsMo3 1tl/vYmaqrtD6OhjmOq7VEb+dQK7MFNJzzqsEw2mQrJeIacMePXURF8goONhyFCO4dj1 Fp1AC7Fjdqi4Z2t1umQPJKGiibOqyiAQAlyijyZmPbM+xojJ+wy5TYJmvpcQYUttMCVE HbXmeSJVWdUvaFiAifWLpBIU80f7FRDmrBw0VSnlIt0zHIuKFdDHL9RhQ5n9x0RGaWM1 bH4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MRbFZS3O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k5si11576200ejj.483.2021.02.22.06.20.10; Mon, 22 Feb 2021 06:20:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MRbFZS3O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232353AbhBVOSC (ORCPT + 99 others); Mon, 22 Feb 2021 09:18:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:41864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbhBVNsc (ORCPT ); Mon, 22 Feb 2021 08:48:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1CC5E64E5C; Mon, 22 Feb 2021 13:47:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614001671; bh=XCrkV1b4eW72wlwlFGJM+fGMWXYsc1qnWdLhx0MpYXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MRbFZS3OzDUIDA+H5IZtI3RLtcop6I2kCgE8NHwvesNuNTcxgFWAlnvExVji+Girz qTrlBNa2NslOXgqEQNL9JiyAaiyfZpZNel8U8+7MtljhsXM4DHZPZr6H32QRnLTbs6 L+R9SGvOpmZlHPtVbS07qYjuThmsLXhc0duuZ/lFL9bxKR5aX7lYo1cwu3H+eaY9ZL iQY+/oulgHQRZa6O5vElhThVZSwgXjOuoB091GAcDvu50eJba1/JIYHRBtWmBaO8v9 GyBJu2jqHDGtSvxzmEwiqYLMZ1fzeJgQAlck0TpXkHcx6R38yamNKmiXqbDHRjw1Q/ mi9ZPSUOXRCFQ== Date: Mon, 22 Feb 2021 13:46:50 +0000 From: Mark Brown To: Shengjiu Wang Cc: Shengjiu Wang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , alsa-devel@alsa-project.org, Timur Tabi , Liam Girdwood , linuxppc-dev@lists.ozlabs.org, Xiubo Li , linux-kernel , Takashi Iwai , Nicolin Chen , Rob Herring , Fabio Estevam Subject: Re: [PATCH v2 2/7] ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg Message-ID: <20210222134650.GD6127@sirena.org.uk> References: <1612693435-31418-1-git-send-email-shengjiu.wang@nxp.com> <1612693435-31418-3-git-send-email-shengjiu.wang@nxp.com> <20210208115112.GD8645@sirena.org.uk> <20210209222953.GF4916@sirena.org.uk> <20210210153808.GB4748@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cQXOx3fnlpmgJsTP" Content-Disposition: inline In-Reply-To: X-Cookie: A motion to adjourn is always in order. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cQXOx3fnlpmgJsTP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 18, 2021 at 03:57:11PM +0800, Shengjiu Wang wrote: > Can I add a flag: > "rpmsg->mclk_streams & BIT(substream->stream)" > for avoiding multiple calls of hw_params function before enabling > clock? Yes, if you do local refcounting that'd avoid the issue. --cQXOx3fnlpmgJsTP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAztckACgkQJNaLcl1U h9B2Ygf+N5kwNgpqApDIfReFqtqLtqQXDeHRtyJUp2Mw/FBKGxRIZtSpFboDMi5J VXujKz7xY9csIA8KyCOStwamXxGesJy0uWUdrjX1Et/X4YYUXtDc+F6hUB1zaB7v 6xEPPINxm87gd/m1j2qeCKA8yVqdLLuZRBLIYvhzr5xzZhN5q5brqie2sHaxjysF GeuG0uiWiLDUn/+KJAN1MNnnk3zrGR6oD8C8ZL1IZhT10oxYuK8M/wxlWMXC0JbE fxxUD9Aau8k0ezS5VQquzWRTjZAC4utv/F4N6DBK1FCv3My0aM69mL4BL5a0mUji tAkM5F9xNM+F83iGENlGypDkiCgd8g== =kbni -----END PGP SIGNATURE----- --cQXOx3fnlpmgJsTP--