Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp933940pxb; Tue, 9 Feb 2021 17:11:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5T9ZPIxs2ratA2XAYt8NptuNgKxONOyc1ZpeRnFnrOpgpEx+SGZ7CtFl6N1HgFLwLx5st X-Received: by 2002:a50:d302:: with SMTP id g2mr866595edh.75.1612919480046; Tue, 09 Feb 2021 17:11:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612919480; cv=none; d=google.com; s=arc-20160816; b=syeO/lwpuu+5KV6ZTE07iYExkU+Ce0eN/CspqURLTVSN/eu6qBTKYnZBKbF/v++nfX yby3bh2tgSY6Big0XAUoOqyiHcOtWElR8eSqOvXFT0aDvdUlG5b/PM3c9bkmdaxbhReH PMYWJpVKkeVGbwldV+HvgFwgkERqg5f5MOkMh70eU65twPnhRoujBDWueTGr3mVEhpU8 wnlKq7piYcYFqqnfoIX0ScwgSsT/a/rzTQOMKIMrCyotsfLahf4xBVNTCeLo0v+gYILJ pbjd8TielGRgM1vcdOSLyPt7JaXuRb0omOMtYXNeRFOCF17ReyAPFbeE6tymtB9O/8Q2 kuLA== 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=aElboiqUnwR60IIieAwxZ0/UogaCICdYpqt/BDC5xaQ=; b=Pi1ESUQ2ujqzAmVXA5y6KGvy9SrWm2vzhTGe3fI/9k2I9zafcUEUiG6ZJD/vyfL5OI fJo/iwMRi18yfi/fwZLJGEY0HJ5EOn2PkP4Gr4y17ev2VoKG5KhMECBt1NcK5FVMjIDU yXl/o6y0+pSCzNo4Wxw93A8VwuJm574DFmsGM0TmD/+r59aa4R8JtZVnuEYl4aNEU/ud rww4lAN4Rv1IOneVXD1Yso+NAoFxhVrw0+6v0RnXu7Dx8NmUXo8ZaqUcUi+MBalLr7+v W6sgcksbsJ8JSjrN90Mte40yEezSqu0qF4vQ31Wj0GVC24HgZd5ZrjvYZjqujoKt8IeZ 6ORg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BKFMhqjR; 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 y10si308076ede.335.2021.02.09.17.10.56; Tue, 09 Feb 2021 17:11:20 -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=BKFMhqjR; 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 S234788AbhBJBH5 (ORCPT + 99 others); Tue, 9 Feb 2021 20:07:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:58702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234548AbhBIWbu (ORCPT ); Tue, 9 Feb 2021 17:31:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F26A64DCF; Tue, 9 Feb 2021 22:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612909845; bh=aElboiqUnwR60IIieAwxZ0/UogaCICdYpqt/BDC5xaQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BKFMhqjRdwMrFoFFLkOj2yPtqpuqDT/GMWk+myP7cSptzE+Er4bomoT8tCrcpQCfk uHtrZFcQYPbUh4e649w5HEj9scECzBRpVwwqEcylAxQorsP39a76Th42S/+9wtbrYT sX/dgfaYhvMT1fW/ay7NRhiqzmKc235luf6B+ocqTQ9qNuoJZb54vmJ1kG792QuYEH z0V8030k94Ht4PSKt96eINydx2ReggFZT2PxWEo0rMwcAbhpPFV6ZhzkH2wtY9+f6G 04LNghwVNW/tjlGCktHNoj3g80Moh7fyFzpZeSyY4X661b4tpC+v4Md3fu75wB+PDR wyw3Iy2cgtwOQ== Date: Tue, 9 Feb 2021 22:29:53 +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: <20210209222953.GF4916@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7cm2iqirTL37Ot+N" Content-Disposition: inline In-Reply-To: X-Cookie: Put your trust in those who are worthy. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7cm2iqirTL37Ot+N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 09, 2021 at 05:16:16PM +0800, Shengjiu Wang wrote: > On Mon, Feb 8, 2021 at 7:53 PM Mark Brown wrote: > > hw_params() can be called multiple times and there's no need for it to > > be balanced with hw_free(), I'd move this to a different callback (DAPM > > should work well). > Which callback should I use? Is there an example? Like I say I'd actually recommend moving this control to DAPM. --7cm2iqirTL37Ot+N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAjDOAACgkQJNaLcl1U h9BfxAf/fm751rk1InZcdQUy/P0JjMUL41sYCGQ90Gg1k2R3RCuWuoeTeCO0a0Yb l474cbyVRak4jHTNNgBjRryRcKW9r/NvV+WOdVVUKdVRJ+PpL3VzFLu0nSll9vDg aF/J74dcRx2+yj/+Ey8kDwbANEmjGKHdYd9NuJcPcPk+owkE9h0h48n4DpuFucQj O7anqyPPxnh1mW/gKSE1Sn0f8MhSWelw+xdX5PlWrMw/gbuW+OyAhwt1DyOMgakW xooN5vm0ALYQtVOM1RnKsKta5TDZjlRkI6Zkv4mojbihSKV/rxTju0sLoblIQ/Ju 0jO/4lAwVhqvokUPYs1HmRwF9Sat4A== =1sE+ -----END PGP SIGNATURE----- --7cm2iqirTL37Ot+N--