Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3299104rwl; Tue, 27 Dec 2022 07:13:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXtqej+DSzTr51d7ZEAskfFgRrKR3h7EPt3v6iGGnrcj9dS0RsviFlf8R4UtaKCQP9AuuzHj X-Received: by 2002:a17:906:2349:b0:837:3ddb:7e97 with SMTP id m9-20020a170906234900b008373ddb7e97mr23397303eja.61.1672153992069; Tue, 27 Dec 2022 07:13:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672153992; cv=none; d=google.com; s=arc-20160816; b=AKB0i/u5+lGY7ro6FhqgxNml3y4IekhNUEZcRdPBe0mTDp7vgSTmA6AUwU5KehSjtU mIUnGAXnbIbhPGYSGjr9ZNKjyMpDlMqK361Qqgo78BNyI/W6UcLtcAKcl6Nv6YGy1OkP Nc1Ww1E2aTSyWtBioaijCO8VUV1JtuHeAIkpN2CGow+JMVeng6OzNIEDgvoAgei6Rfsw yhC8hvAy82RWZl0T7POBQ+qOXXiwM8vey2UeDAUty1s+o/6BJpVQ+YA+X7/XgY29PdPw o5j8L8/rlcrDTZMKTc4ZaLQ6DBaVSCfGVjI15AKYZFg4aFCttkLIW1Wl/zoT5B64g58l wD0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IpocAaxMdBqKTf7doRfZ7he6R2PjcRYr685A6enwVUQ=; b=iMygphx2KotfcwreBppb4MY60zVHJ2BYhcCG/U/dPbOM/8kVFc63AqRl/pzPKJxP2S IrXdKA8MJnnyZ3wEUNGbCo+BbucqEiQ7OnNrJs4hqdkm9Mxt6I4kJlWLnjDfXtPrunNW XhmvxVAQCQXm68uIzfMVz1G1tNLEE/K79VFs8W6uT8sYIH5eJLwRx87odb034EjhtxGW ut6x2J0Y9p5becB6dNX3TK6HGGu31cEVYAsW+lyZxgkYHAdCCBnUz0Goub5kfCK9e0hR mYQsA7/8U3q/Vt1I+D6oIvTn+paZdm630zoZ3Zo5AX0NIIT5xxQHt73iCFzSNlcaw9Ch X6ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MMmr8g6c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a056402254e00b00461f0d84ee1si12395295edb.228.2022.12.27.07.12.54; Tue, 27 Dec 2022 07:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MMmr8g6c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231695AbiL0OLl (ORCPT + 66 others); Tue, 27 Dec 2022 09:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231389AbiL0OLi (ORCPT ); Tue, 27 Dec 2022 09:11:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 605B11B1; Tue, 27 Dec 2022 06:11:37 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DAE3B61157; Tue, 27 Dec 2022 14:11:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E35E5C433F0; Tue, 27 Dec 2022 14:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672150296; bh=w1Tt5KpHeU6LrhFDV3MOo7Ka2OTOJdZOMGYD+HubpdU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MMmr8g6crtYz7sD8hp5VXA4d0W4r+qQfith6dYe66hivk1PanPlB8k2INiMFjpziB oAL3Rc/zqddnLdjZ8Y7vE1cxxeBjOfHpw8VCiWeFx4RQmfLcQm2IU30imG0SqUiJPQ YdiUnzoLNFwQ8nTcuGUozrnsMjEMphQHc8tjPb/32a5crd0tKPb5VcbNhSIN5UxrRA Gl9is9ej3XQlw8VUPOU+gTTc5CkQ9EK4km/A9AmWBUBD9Th3RKRGE7GkDz+qxegTJs vnTIaa4Zv8kbdnDp+XnezBZKvTDHE8ZeKcb28HR6/t+J0smuj/ZsOKOU7hiGzeA8x7 0f6c5GSoBEAlQ== Date: Tue, 27 Dec 2022 14:11:28 +0000 From: Mark Brown To: Takashi Iwai Cc: Greg KH , Wesley Cheng , srinivas.kandagatla@linaro.org, mathias.nyman@intel.com, perex@perex.cz, lgirdwood@gmail.com, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, Thinh.Nguyen@synopsys.com, bgoswami@quicinc.com, tiwai@suse.com, robh+dt@kernel.org, agross@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, quic_jackp@quicinc.com, quic_plai@quicinc.com Subject: Re: [RFC PATCH 03/14] ASoC: qcom: Add USB backend ASoC driver for Q6 Message-ID: References: <20221223233200.26089-1-quic_wcheng@quicinc.com> <20221223233200.26089-4-quic_wcheng@quicinc.com> <87r0wl0wso.wl-tiwai@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MoDs+V7j52bwbfqu" Content-Disposition: inline In-Reply-To: <87r0wl0wso.wl-tiwai@suse.de> X-Cookie: There's only one everything. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MoDs+V7j52bwbfqu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 27, 2022 at 03:02:31PM +0100, Takashi Iwai wrote: > Greg KH wrote: > > On Tue, Dec 27, 2022 at 01:04:55PM +0000, Mark Brown wrote: > > > On Sat, Dec 24, 2022 at 10:02:59AM +0100, Greg KH wrote: > > > > "be"? What is that? > > > Back end. This is a concept in DPCM which should be reasonably > > > discoverable to people working on the audio portions of this code. > > Ok, then how is the reference counting logic handled here? USB devices > > can be removed from the system at any point in time... > The whole picture is fairly complex, and this patch is a part > belonging to the ASoC machine driver -- that is, it's bound to the > Qualcomm host, and there can be only one on a system. =20 > OTOH, USB audio devices are still managed by the existing USB audio > driver as is, and they can be multiple and any devices. The basic > idea here is a hijack of the USB data processing in USB audio driver > with the offloading mechanism by this ASoC driver (only if the > condition met). Right. I haven't even begun to look at the actual code here, just triaging my inbox, so I've got no thoughts on if things work or not. --MoDs+V7j52bwbfqu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmOq/Q8ACgkQJNaLcl1U h9AJLwf/TGoSsJdiOtmJ/KDGP2WpqZDVbQqPyJeobJzTd9iQ0WISteeWXhCaQzEP prsfQuOnpN59pIx92wR1QiQhG1hIfloZm9D0+2GFs6ig70JB/2tR4vrDwyOvpJab jdL+aAl495L95M2FyBU6iaBTSAkmJTiBro++bgcYRJHtExYiuVM0zSLnHnGXjpY/ Q8VngUTeGebIQnTK/yjDIqCamWLQ1uygyiEexa6irqBZJxAf5E2QXww1573HF1ma 7icaSGlaaDRvIz4f9tKvj7j7y++W8xHSZI/dUvGSQV++tuFVy5BxpysjqNncFT9t VB0GkLnFBoQ4w00oIOLbYMsqF69weA== =fyRg -----END PGP SIGNATURE----- --MoDs+V7j52bwbfqu--