Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp550766ybl; Wed, 14 Aug 2019 02:11:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxX2ds7TrWuXSb+YoiMPqz3l9u3YTKX3LXsWpIL+VNUGNtsyU0vVBlY1NohvmsuLUcmGEa/ X-Received: by 2002:aa7:93c4:: with SMTP id y4mr21850376pff.39.1565773882349; Wed, 14 Aug 2019 02:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565773882; cv=none; d=google.com; s=arc-20160816; b=mhSLl/i01acO7N/wB4tijihw8KxPWoN+gcxqP3G3pPTajkHlduEBi2lw3RYapg2Wto JnVmNuE4jivfcwTqBu5TA/SO9x6eYuIaKIIFQgWZ/6jbe5PuTza5fvqZ8MBHwhrr8K6y yiWGbmjUUKrOSsf4lRaRm4Ob7qgYczzS+kIpSCoW94fxsPlJ3EOmGhV8AQqv396FAyUQ g+Bs0Kk8K9gx/YIF/6lhGAolxzqcrUvdL3GBfau+lCYlYIOTt1SwWlSYdDWIqg766K+0 1EGp79OpMRXebcV1dHEH29RiVjCOEOx5qjsUfSzxXS6a6XgbN4U3t7Zg5WXJ36bYwgi5 Ms/w== 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=nm3AZYQqg9bViUcvgRl1pV30pLA1C+5Glu61dF/KaxE=; b=IovYQESWQIMJO2n3RyDkzrG8BzpkFdz1y+Vr38XXF0YF0o6lqIJ1obcSD/neUcUTc8 Je0x7UFBSv0k7d5ndmHNoGON2NEnk8uZrW264Ml8oN5Vs3E8pxykYZJ+0NAN5Fozs5iO XIe1VirZaLZl3VTTrYVQ63U18j+S4uSG7rAAUSMLg63qHi1JoPBvfyPx4Pfr66poDRgn n9wpaPhA2ABqOQCWVKAeGaxTAGJFAzWhQmhD2hD2u2rff6FkDsPFcHNNhvzjG27621L4 nUys3c5z/j7crSYQRl1fgbge62bCxNmOiiaJOMoPjEdACfDEb4jGTEzonTAbFB1cnAkR IpeQ== 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 t9si2552725pjw.22.2019.08.14.02.11.04; Wed, 14 Aug 2019 02:11:22 -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 S1726610AbfHNJJB (ORCPT + 99 others); Wed, 14 Aug 2019 05:09:01 -0400 Received: from mail-wr1-f98.google.com ([209.85.221.98]:43922 "EHLO mail-wr1-f98.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfHNJJB (ORCPT ); Wed, 14 Aug 2019 05:09:01 -0400 Received: by mail-wr1-f98.google.com with SMTP id y8so4413189wrn.10 for ; Wed, 14 Aug 2019 02:08:59 -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=nm3AZYQqg9bViUcvgRl1pV30pLA1C+5Glu61dF/KaxE=; b=BGeZYxVWy2R58sArMqTJsQqhVtaw7rbDgpysr3RKmWMfm63FauzUo6IbXOQsae5aqv /NGUpeZ3fw42zG/D88fKd/dIE5ViYHfndrPMTIescBsEEiKOLktIr9LP76L1eYDUf9Zw VFl0AUL8P9crJozqcCVSb6Zl6mO/AnyurY3BlwvDue3/KG35Q1pkdIKmLCTybE0Op5aU 8In+SQ9DLPPV91bhSZ1l4RwIhtLymrzEYfZ8USgN5bSnsLcFunjZOamCCqlxepr4bbqc ma7dfH7/CKMnPfkTUJc8OdDi7CS8tna3DQ3Ebqcb4fz6+esIasn4aA5OsjOwS3ila6zE YT4Q== X-Gm-Message-State: APjAAAVIsJ5ykOE//u+hl19y2oHkty6omdWLxMC/CwwAiJzwOyONS+pk n6jQDNuI+ixNotWqkyvvyMoxlt9x881a4WYOyKyeXakhywLJKJystkRQiyavvuW/jw== X-Received: by 2002:adf:e2c1:: with SMTP id d1mr53838825wrj.283.1565773738885; Wed, 14 Aug 2019 02:08:58 -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 y196sm36316wmd.41.2019.08.14.02.08.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 02:08:58 -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 1hxpH8-0004cl-7R; Wed, 14 Aug 2019 09:08:58 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id D9C112742B4F; Wed, 14 Aug 2019 10:08:56 +0100 (BST) Date: Wed, 14 Aug 2019 10:08:56 +0100 From: Mark Brown To: Vinod Koul Cc: Pierre-Louis Bossart , Srinivas Kandagatla , 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: <20190814090856.GA4640@sirena.co.uk> References: <20190813083550.5877-4-srinivas.kandagatla@linaro.org> <20190813191827.GI5093@sirena.co.uk> <20190813195804.GL5093@sirena.co.uk> <20190814041142.GU12733@vkoul-mobl.Dlink> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <20190814041142.GU12733@vkoul-mobl.Dlink> X-Cookie: Bridge ahead. Pay troll. 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 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 14, 2019 at 09:41:42AM +0530, Vinod Koul wrote: > On 13-08-19, 20:58, Mark Brown wrote: > > 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 :/ . > Here ASoC doesn't need to know about sdw bus. As Srini explained, this > helps in the case for him to get the stream context and set the stream > context from the machine driver. Other drivers interoperating with the Soundwire DAI might want to do something, it looks like that's the case for SOF. > Nothing else is expected to be done from this API. We already do a set > using snd_soc_dai_set_sdw_stream(). Here we add the snd_soc_dai_get_sdw_stream() to query Well, if the API is not expected to do anything we can optimize it and just remove it! --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1Tz6UACgkQJNaLcl1U h9B7fgf+PvYlFGtuBj37wZOpu/dVlS5vmQbNkNVdhUbDbjO5oYTemRTIB5PukA4R tO6idhVUsIlMWCvN6MZKJXPGgZfB7Heu84YAn3GvBmIFmY3J4c3QwsD1pIf1gmGH X+xV//bbiewRLrA7LvbQalQanUpCVVlCrjsJ8FeDg+PFs4wPO9gE2N7pevVhzknu tIaB6HO88+eAx0FfUUvXjWKo5qov/1LjhsI8Z2DJuKfpi9zfBatUz+/Q75d2WEJS 0G8ATi/5aZueU+YB1T6xdQtkS/lPIFRYN7dyMZrLyidtwkttiii8UzStBh64F6QO MSoasP9IToaTUPdzqxcH3bIYBg2R3Q== =pxWA -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--