Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp163438pxk; Tue, 1 Sep 2020 19:57:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK31w2ZQReWAuOT2+uOHowNKd2R/XpWZNCInG2erG0baDEDlWTJ8zK8qIIxHcjS9oqZxXp X-Received: by 2002:a17:906:7f15:: with SMTP id d21mr4392986ejr.470.1599015443404; Tue, 01 Sep 2020 19:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599015443; cv=none; d=google.com; s=arc-20160816; b=o1wrRa4XLeaT5TwD9ptcGGSOAnYzRt1yv4t6NCy/n1ib9YVWGUrrgRKyt+kEqbrfen bzau1sWVrhww6ShiZeZFHjT7/HF5FVo7yCWv/yeZnABkba+EwKWtcKQ97X8N++2GW+sW eVcIWrBavwNJibx+LPjhAmMePPugtI69tImwZey1eSo2mxrCznhnOs9WTd2EC9pZoNFq bN2M3mNiBtE3h93PnD9hyVLfxtAmON1bRVrfDMmQXaZAU/ewvyjrJncrP4G8yPIFDFoE QAh8dgYJStdfLXHeWW6hyon13LoILparRXVD6djCRGmJcGP00wDJUAVrd8H9J+mHqYFn jbMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=FA7jY4C2fXQTXExPFFimkv9oKhg3a0fnfwb2CwSlFJc=; b=or5sWusivmKJzNPD34zvIi3fYHzpb/H8Sy7AAHlGL7mXBybAYhcJi5V79qIhBn8SXI FPAim6pmZMA+7R/e1UYWJUhmDb4V8B/Bmo5/FkbRfqNI82O9OgUr88d62K6ZmdNT7nG4 UUyRWUapN7XwvaePCEL00QIEON6Tzez+N/iJx8NqsAW6dEQM+p0PCdFfds74HOAOEpBA p+K2Lu4JPAuiDiVq+XFfsdEuRy6QeNynB+bg6Yk2v7FExN1xizyqUPNIIYF4Kpjnh88G IpmcUJWq/8ABqdjYLGmJNtT2lXEbavs+nbruMmX9ooCTMWaOvpAqr8sYIwS/VEYmxT12 n06w== 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 e13si1715418edc.33.2020.09.01.19.56.59; Tue, 01 Sep 2020 19:57:23 -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 S1726770AbgIBC40 (ORCPT + 99 others); Tue, 1 Sep 2020 22:56:26 -0400 Received: from mga07.intel.com ([134.134.136.100]:49594 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgIBC4Z (ORCPT ); Tue, 1 Sep 2020 22:56:25 -0400 IronPort-SDR: Iftd7/tx/YhQ93G7NuN589vT95sn2A0yIbgjeus/oGI6zU89RRZaJh8ZwbwuZrn4sijTP+PQ/E hvNpR/Zcmd6A== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="221528363" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="221528363" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 19:56:23 -0700 IronPort-SDR: jBgxsSqL2oXJ/4EVq/a9gAZ4Edsb+NYd7YoMISZkZS6tdjBfayU4rHaIkvU+ySPF7v5UTEbSGS w5UMrrgpw8VA== X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="477457229" Received: from bard-ubuntu.sh.intel.com ([10.239.13.33]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 19:56:19 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, rander.wang@linux.intel.com, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, mengdong.lin@intel.com, bard.liao@intel.com Subject: [PATCH 0/7] ASoC: soundwire: Move sdw stream operations to Date: Tue, 1 Sep 2020 23:02:33 +0800 Message-Id: <20200901150240.19288-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sdw stream operation APIs can be called once per stream. dailink callbacks are good places to call these APIs. 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 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