Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp635748pxk; Thu, 3 Sep 2020 08:48:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylKRows7yPTEPhVaiFo2dR/Ne4qU2UA9y4AqfC89x8c80xqVKm1MHGx2CcZCd2+Lpgjmqj X-Received: by 2002:a17:906:68d2:: with SMTP id y18mr2884582ejr.197.1599148123617; Thu, 03 Sep 2020 08:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599148123; cv=none; d=google.com; s=arc-20160816; b=At+1hT2IjvCcQ/Wf/TkJToIMic8aQ8G/UESnBG6wqU2u2AtfkIXLpWREuHJC6QULNE 3WVfg3wWkZlzMdWZ6zbygZ7d1UZ6O8jsE5pwFLa1NfPhn97WceCF2R3VnAxA23Uu/2Wm DrXeNm1UCGsZwpB+5VW1Lj/3nsJg5KCPbmuABkIehNty4B6Onx7QHyWKedlJPAENQBAb 4AB77c0oiase0Hs22bUnUkOLnf23nMznHg+HgfWDOrYHjjIdbpAeZjloHEbSdXfffHxv pvi2Nv445kUZGmlEBIBuHi/Zb9Ylp+WeRsJ7fC/HwL2S0UtmzwstvnR9EDV2URHtbMqY cj8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=XJTpZ1GvnEJxL0c8vJD767B07ovVSxgwvx5UwqwT1g0=; b=Cyc9r29WqVV+iBdlwfzW5HRSValdtklujSQP8mdvsqVZhVxh/5dZMv9J4UEWfbKxYL 05LYUxDbJlb5lqcsHCuerx96fsDWEyY33oKA4oXPMCpIUGm+sfvq8DDGl58TuGDFDGun YexT2hJCLW/6uy2mS7gxNUwmNxiN4wd7Qc1alJycqaHtQf005LQyuU/xnyjsvsGDec0j bAZeppGv4fiB/DPW94aZn5hTCnisUjWmaVFTj6jEQ/JdpOM94Ksp0g79Q7Jcf9DTvvSc DJ8ZPawgGAStj4mck1ZKmKHKJy7Kl5ZDkt8UED8kBwvxBZimvAQFu2Iysd2SmMOGrdMZ s/vg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k14si1898124edr.96.2020.09.03.08.48.19; Thu, 03 Sep 2020 08:48:43 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728456AbgICPrg (ORCPT + 99 others); Thu, 3 Sep 2020 11:47:36 -0400 Received: from mga02.intel.com ([134.134.136.20]:64924 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728452AbgICPrf (ORCPT ); Thu, 3 Sep 2020 11:47:35 -0400 IronPort-SDR: XU6FkpYigIYy2Md47dgRQs3UAbDQuQkMxaPjHM4L7PN9lkAGkQwQnWk6cA9LpT3sYIEGoS3WF1 YjBxQqulMlVg== X-IronPort-AV: E=McAfee;i="6000,8403,9733"; a="145337497" X-IronPort-AV: E=Sophos;i="5.76,387,1592895600"; d="scan'208";a="145337497" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 08:47:35 -0700 IronPort-SDR: 02HMsGSDHA7JkyN8IszHHtFc4klZm85DZSDSX9WHjgZoJ1VS100XpYBUxC/3Q7xZFw6VGRyU2X VZ5UnQUMCsXQ== X-IronPort-AV: E=Sophos;i="5.76,387,1592895600"; d="scan'208";a="446952734" Received: from kdkrake-mobl.amr.corp.intel.com (HELO [10.212.29.67]) ([10.212.29.67]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 08:47:33 -0700 Subject: Re: [PATCH 0/7] ASoC: soundwire: Move sdw stream operations to To: Vinod Koul , Bard Liao Cc: alsa-devel@alsa-project.org, tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, mengdong.lin@intel.com, sanyog.r.kale@intel.com, rander.wang@linux.intel.com, bard.liao@intel.com References: <20200901150240.19288-1-yung-chuan.liao@linux.intel.com> <20200903104248.GQ2639@vkoul-mobl> From: Pierre-Louis Bossart Message-ID: <033ea005-e948-c2c6-9bd4-e074d3effde0@linux.intel.com> Date: Thu, 3 Sep 2020 09:05:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200903104248.GQ2639@vkoul-mobl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 5:42 AM, Vinod Koul wrote: > On 01-09-20, 23:02, Bard Liao wrote: >> sdw stream operation APIs can be called once per stream. dailink >> callbacks are good places to call these APIs. > > Again, please mention here if this is to be merged thru sdw tree or ASoC > tree Good point, I thought it wouldn't matter but it does. I just gave it a try and there seems to be a conflict on Mark's tree w/ drivers/soundwire/intel.c (likely due to missing patches already added to Vinod's tree). So this should go to Vinod's tree with Mark's Acked-by tag on the ASoC changes. Alternatively we can also split this in two, with ASoC-only and SoundWire-only patches in separate series if it's easier for maintainers. We would lose the rationale for the changes but that's not essential. >> Pierre-Louis Bossart (7): >> ASoC: soc-dai: clarify return value for get_sdw_stream() >> soundwire: stream: fix NULL/IS_ERR confusion >> soundwire: intel: fix NULL/ERR_PTR confusion >> ASOC: Intel: sof_sdw: add dailink .trigger callback >> ASOC: Intel: sof_sdw: add dailink .prepare and .hw_free callback > > These should be ASoC Right. if you are fine with the content and this goes in your tree, can this be modified while applying? Or do want a v2? >> soundwire: intel: remove .trigger operation >> soundwire: intel: remove stream handling from .prepare and .hw_free >> >> drivers/soundwire/intel.c | 60 ++++------------------- >> drivers/soundwire/stream.c | 2 +- >> include/sound/soc-dai.h | 3 +- >> sound/soc/intel/boards/sof_sdw.c | 81 ++++++++++++++++++++++++++++++++ >> 4 files changed, 92 insertions(+), 54 deletions(-) >> >> -- >> 2.17.1 >