Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1329905ybl; Thu, 22 Aug 2019 12:46:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO2SVx33VGJPMrp7um81yNlIr9b5lM2qgqNk5Wyfayp61MRldExa7BTJ0kUpjwMPF1S+Qc X-Received: by 2002:a17:902:830c:: with SMTP id bd12mr518280plb.237.1566503197641; Thu, 22 Aug 2019 12:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566503197; cv=none; d=google.com; s=arc-20160816; b=hPDAWjamNHxbiRPnbG7oKrALu92b5qtOxtBbX1dHMIwXlrawfuSXCln61naIKmHDIe RRg/wHQaDDl8C7iXw7jQfqtmMWz4Eay2ktAoRWGt/FBt29/1yELEIQcaItoy9z4/hy7y JsxjW7IHoRvm6aY0RyU+eHitglWKFVPpxVNfDqLKQn6hbMV/CT+nv4kdFC6fzW8lMY+x 3D/H81OU7uwyGPw90UcBCPTZKfsnNDEfIbnayovHazSI5aUKEQ05YyGaqyJvR0vTtKMm AaN/qKiavaFIK6D9kyUewusnC/n8aKQzQAxZsc4D2dZ6DWov1qYArTC4xQrZv/lnGFuo QPKQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=m8fMm5imLIAKhrifbWEhbb0919WZGjNAxjF/De4e0Q4=; b=i9pdRHd0rPIWOII/xe2fIXDpVhSVUqUoCkylQIZl75XDyb5YJpPZl8BnSFjIIOoSqB Ec+hN0JJxFwkSNhDOa0wAu3S/JY5YkMDkpqQESKYSVuTS/2qhW9UEqJZO711iL/Mb4Hq zw1flhirb5RLcUgwKDhS/a14Jlb7xeUrO7IOtZID87A1PRKZvXfC7h/MeTmdNIq1o3L5 1/U5othxgUfgynvsq8TmSzaJRGbTgIasNcEIosKET820NW/OWWbxQI8LEwATUPyadKeY /9pPc0Fk8+TnX6L6V7Q/0BL4ALt7xvIx5dmv2YXozClrWyHjyIdjD78FZ6U9ZY5sXWbl eFKA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si199805pgj.169.2019.08.22.12.46.23; Thu, 22 Aug 2019 12:46:37 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389536AbfHVPTe (ORCPT + 99 others); Thu, 22 Aug 2019 11:19:34 -0400 Received: from mga01.intel.com ([192.55.52.88]:50932 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389528AbfHVPTd (ORCPT ); Thu, 22 Aug 2019 11:19:33 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2019 08:19:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,417,1559545200"; d="scan'208";a="173166237" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.249.36.176]) by orsmga008.jf.intel.com with ESMTP; 22 Aug 2019 08:19:30 -0700 Date: Thu, 22 Aug 2019 17:19:29 +0200 From: Guennadi Liakhovetski To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Ranjani Sridharan , vkoul@kernel.org, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, slawomir.blauciak@intel.com, Bard liao , Rander Wang Subject: Re: [alsa-devel] [RFC PATCH 0/5] ASoC: SOF: Intel: SoundWire initial integration Message-ID: <20190822151928.GB1200@ubuntu> References: <20190821201720.17768-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190821201720.17768-1-pierre-louis.bossart@linux.intel.com> 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 Hi Pierre, In patch 4/5 I forgot to mention superfluous braces around dev_err() in sdw_config_stream() and sdw_free_stream(). Otherwise for the series: Reviewed-by: Guennadi Liakhovetski Thanks Guennadi On Wed, Aug 21, 2019 at 03:17:15PM -0500, Pierre-Louis Bossart wrote: > This RFC is the companion of the other RFC 'soundwire: intel: simplify > DAI/PDI handling​'. Our purpose at this point is to gather feedback on > the interfaces between the Intel SOF parts and the SoundWire code. > > The suggested solution is a simple init/release inserted at > probe/remove and resume/suspend, as well as two callbacks for the SOF > driver to generate IPC configurations with the firmware. That level of > separation completely hides the details of the SoundWire DAIs and will > allow for 'transparent' multi-cpu DAI support, which will be handled > in the machine driver and the soundwire DAIs. > > This solution was tested on IceLake and CometLake, and captures the > feedback from SOF contributors on an initial integration that was > deemed too complicated (and rightly so). > > Pierre-Louis Bossart (5): > ASoC: SOF: IPC: dai-intel: move ALH declarations in header file > ASoC: SOF: Intel: hda: add helper to initialize SoundWire IP > ASoC: SOF: Intel: hda: add SoundWire IP support > ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks > ASoC: SOF: Intel: add support for SoundWire suspend/resume > > include/sound/sof/dai-intel.h | 18 ++-- > sound/soc/sof/intel/hda-dsp.c | 11 +++ > sound/soc/sof/intel/hda.c | 157 ++++++++++++++++++++++++++++++++++ > sound/soc/sof/intel/hda.h | 11 +++ > 4 files changed, 188 insertions(+), 9 deletions(-) > > > base-commit: 3b3aaa017e8072b1bfddda92be296b3463d870be > -- > 2.20.1 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > https://mailman.alsa-project.org/mailman/listinfo/alsa-devel