Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1456834ybl; Tue, 13 Aug 2019 13:00:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKpIFmWJUmEDuLvni7H+8nugP9ffNIytL27b5CLCEPEorNZv/K73jacYo4omO2JrGc4y51 X-Received: by 2002:a65:41c6:: with SMTP id b6mr35605539pgq.269.1565726400748; Tue, 13 Aug 2019 13:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565726400; cv=none; d=google.com; s=arc-20160816; b=erRmx4t0OkgPcjHDU8kc1SO4P9/gLX8lFtaHMBLqucXpiVg54BAvm2WY6VpqKn/jZd N5k7CvLSC62NMul8xJ0cO3w2zMAaSlHdnawCsy6t9IFCJwwHlWUL910aJ8iUMQ2YYVT1 eGQZv/UcOIk+DegGlbYH1TDpJzC2LfDT2SOMlQ5LpqYFaCCBv9PM0GsVYNNpnlGXpNOS LY/p+1kDBMg4lm8YOmzgr4uF2wr/3wZ/I2T2BNUa1GNZuNU7f22iViEuV8ol3Zh/fo4f qNdXuQ3eWrIvqSaIG+462PiazyD6tuBMIzRARwpmzZPebVP6hRwxlUMG1O/QwLDIlH6u ITfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=X82eQ3JesOlbLJhrRrufAi8tlKQch8wVXL6Dn+B2NqY=; b=NjQ6+iYHNhtSf4eZzx1EJ9Ww34bNyB8M2jRDexnI/noqxcLfQaVTE7PPZt0Cs8k03D vd26G7cFFborFWDpyDfJJVxsdPhtYjvPgR9YJxOh44zV89IqUxdPuu6rVBNYMctzMc/p dM2oz9aygLc4bijeR4oJAKBfzE1YD629AklCMI/gx0MqStd0AQ41aRybd9vHBNzfzlpN EZl7r9PMIK5zL5pzr0C4JxlqVaf2kv+cRm82UyLBAsmg3ZP3IWOHjMoCOOE1rcdpQLOs AYIUQCNPDb1ZNRD+8MhfpnLVnGxEbpCAADKGtTQaiULrOHTHWkI4lnljmyMjWBQFJWKD UJqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si42182780plz.351.2019.08.13.12.59.35; Tue, 13 Aug 2019 13:00:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfHMT6H (ORCPT + 99 others); Tue, 13 Aug 2019 15:58:07 -0400 Received: from mail-wm1-f100.google.com ([209.85.128.100]:37663 "EHLO mail-wm1-f100.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfHMT6H (ORCPT ); Tue, 13 Aug 2019 15:58:07 -0400 Received: by mail-wm1-f100.google.com with SMTP id z23so2486223wmf.2 for ; Tue, 13 Aug 2019 12:58:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=X82eQ3JesOlbLJhrRrufAi8tlKQch8wVXL6Dn+B2NqY=; b=Px4GBaIN5mg506MaggC/NsDMKTZQehrtOOMUGnDtsOrhO1yZ6DvAauMsHK7FBpK4QE PcwRY5DPxpl8hY+KIRc7sSoxPRaJdEmx2/GZ4fZ5Fp3lFDAm+HEGkg1ZzOK4uWCLdpcW ejzmepyG8wKJWQzdHV7hyBSBvbQJ8dObY2kttAD0RVKaMscaoZ2IA8PBok7JP6oJU3w2 9wGGhL6CuxuwJcoQ3ZOivuP5czQctfL8X8vd0YPXo6D/Qw5O+QCx1jfseUyFQ4WO+bkH hgxX17mOSjmp0tScnSN4Fwtqkqeik/APC6nyy6xaBZrmMaPfDQxSkyCKslAYZPS9izST HRtQ== X-Gm-Message-State: APjAAAVckReRW/aUijno/hLT/n+/ud6odZosUJxGx4LdNXEg0/mLnzY3 IY6uj+drRhXlQ1HUcN8sxHIQPMAyz/VoQb1hLgIVPcXPcymxzWebRajKbUEXO/DjcA== X-Received: by 2002:a1c:1d42:: with SMTP id d63mr4521112wmd.34.1565726285375; Tue, 13 Aug 2019 12:58:05 -0700 (PDT) Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk. [2a01:7e01::f03c:91ff:fed4:a3b6]) by smtp-relay.gmail.com with ESMTPS id q2sm1475349wre.51.2019.08.13.12.58.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 12:58:05 -0700 (PDT) X-Relaying-Domain: sirena.org.uk Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hxcvl-0001Al-5G; Tue, 13 Aug 2019 19:58:05 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id A97052742B44; Tue, 13 Aug 2019 20:58:04 +0100 (BST) Date: Tue, 13 Aug 2019 20:58:04 +0100 From: Mark Brown To: Pierre-Louis Bossart Cc: Srinivas Kandagatla , vkoul@kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, plai@codeaurora.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, spapothi@codeaurora.org Subject: Re: [alsa-devel] [PATCH v2 3/5] ASoC: core: add support to snd_soc_dai_get_sdw_stream() Message-ID: <20190813195804.GL5093@sirena.co.uk> References: <20190813083550.5877-1-srinivas.kandagatla@linaro.org> <20190813083550.5877-4-srinivas.kandagatla@linaro.org> <20190813191827.GI5093@sirena.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k1BdFSKqAqVdu8k/" Content-Disposition: inline In-Reply-To: X-Cookie: Poverty begins at home. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k1BdFSKqAqVdu8k/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 13, 2019 at 02:38:53PM -0500, Pierre-Louis Bossart wrote: > Indeed. I don't have a full understanding of that part to be honest, nor why > we need something SoundWire-specific. We already abused the set_tdm_slot API > to store an HDaudio stream, now we have a rather confusing stream > information for SoundWire and I have about 3 other 'stream' contexts in > SOF... I am still doing basic cleanups but this has been on my radar for a > while. There is something to be said for not abusing the TDM slot API if it can make things clearer by using bus-idiomatic mechanisms, but it does mean everything needs to know about each individual bus :/ . --k1BdFSKqAqVdu8k/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1TFksACgkQJNaLcl1U h9BHfQgAhhh0D7Hg5E7dHFAw9gfqCTOCQFEV16Tm0f23eAZ2yPanGpNNC0hohDnH y77jzS/Zh0WxkcN5gH7rQI0bTrbDVeZpQd0+Wo1egQK9eqfVkjZi+gE2O8v/VjCW Hcou9+7P7205uP/LB7vuMzVbhKpTF4fPpbhIuJ44MV39BO+sQ+nptMl4ialTd/Y2 kjLdoCl/v6TIAY3GztKKmOvUo58xPak85st45COal2f5bUIBbKxs1Ss/x8VMSPlE OvPxl5aUzKuFFiVXGekHr+hR/INMri9LWuBQpqrTatdyS0P2p/Sc/r9oNzrl8z+7 PKRpKAk3EYaOsSo49DWaJw3wREGyqQ== =REil -----END PGP SIGNATURE----- --k1BdFSKqAqVdu8k/--