Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1060683pxk; Thu, 3 Sep 2020 22:14:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyZWy51bvMf05YQ467M/dZ2vSm3zNQmECtuC5PwP3x7IAZnAlXnaE8f2Qcnf4m+9VuFsln X-Received: by 2002:a17:906:a1d7:: with SMTP id bx23mr5737774ejb.273.1599196458169; Thu, 03 Sep 2020 22:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599196458; cv=none; d=google.com; s=arc-20160816; b=hYUM0mmTqolARoRW7rZPNi0DjQtLELL/3+1M/Nol+sM7JaNKCTmXlX+lnnfkY0NTi6 n+jFEQQgKiicZ6409db2FjFPMRrqvZacoLwp/RDnASv+2gEsQuZt7eL87WI0ZMKxNooM GY0DJtIt3R/3xuJzYrtDk+9Eojubq0HMeudUMUHNMnUao0VF9daWToTMAghDZau+y0D6 7sImep3fKSx93IV4jIqzlNtQk/GPMHklC+Yt8tJPvkTGz50XxVoOVLpIi4vn+Uf4CSfi IRjy6mYfFKJMLXJ51ltmNEM9ZOStAoJFNYtXFz31ZgoUu4LOAXckSmGlXlNjatn7g0Cn UssQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FG5rtVAZKeLC4oioEjq+N/dvwvXxYFzEE751gMaUo6o=; b=jyVu0WXICXL+CqwwtAWugdsdod3D0DbXA4PQLNV7LxqnSP2HnBPdcAK3eLuYRfwkNh il3eNUzG4hTGwgHmsCERvaXjvpZyp/xgiHmFETCMCh8CFqv4sDXllwgJc3aJhZCDPvfS 2pJAHa7wgxtsOEJSseoool5N0nLcJqrb1RlXvT6h+C1DC6adKQRdvhQleSpPKYg094Ol R5vmrOML63UktIsKvZ0e0huyjkbKbDF1StC77PwUGzBaA0G+8Hk1k8iN76K0qaJgpOug IQEKRpilhkdPKlb8+e9KvbA5YmroDbwn2V8lUxUDzd9jkzletYW3/O2gLyf+eWxGoxCn Mprw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EKR4i72o; 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 dr7si2737693ejc.447.2020.09.03.22.13.55; Thu, 03 Sep 2020 22:14:18 -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; dkim=pass header.i=@kernel.org header.s=default header.b=EKR4i72o; 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 S1726555AbgIDFKo (ORCPT + 99 others); Fri, 4 Sep 2020 01:10:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:52492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgIDFKn (ORCPT ); Fri, 4 Sep 2020 01:10:43 -0400 Received: from localhost (unknown [122.182.253.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B9F03206B7; Fri, 4 Sep 2020 05:10:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599196242; bh=JL5hlEqAO1CvuAIi2Pmv3JSHZEXfeYK3TlK8ZhEqdLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EKR4i72o6KurMdZKZBFgw9SN1ygVPqUQod9OmNx6AroxLoah11kRndIyyZuBZ8tR/ WxkEwUIA5KCTCRsY0FLc41Dm8DmaWLdTrB2iXL0771wVVenKdh7rennjUhJJgNxx3P bWAPnrmMAwIrXqFx4iihi+34VI324MCDcGPro+mU= Date: Fri, 4 Sep 2020 10:40:36 +0530 From: Vinod Koul To: Pierre-Louis Bossart Cc: Bard Liao , 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 Subject: Re: [PATCH 0/7] ASoC: soundwire: Move sdw stream operations to Message-ID: <20200904051036.GU2639@vkoul-mobl> References: <20200901150240.19288-1-yung-chuan.liao@linux.intel.com> <20200903104248.GQ2639@vkoul-mobl> <033ea005-e948-c2c6-9bd4-e074d3effde0@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <033ea005-e948-c2c6-9bd4-e074d3effde0@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-09-20, 09:05, Pierre-Louis Bossart wrote: > > > 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. If there are no dependencies on each other, that is best preferred option. One should mention in cover-letter about the linked series though. > > > > 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 > > -- ~Vinod