From nobody Mon Feb 9 21:37:17 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ECCEC77B7D for ; Mon, 15 May 2023 06:53:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239899AbjEOGxh (ORCPT ); Mon, 15 May 2023 02:53:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240396AbjEOGxF (ORCPT ); Mon, 15 May 2023 02:53:05 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14323272C for ; Sun, 14 May 2023 23:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684133555; x=1715669555; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gTWQz2QeQjn75D2vv5OELRJszUtDKAo2vigeJ7CoI54=; b=XeTbCYq8S5ugbHl1ncKcdJRry9kAVdMaj7U6j+XiR3rwloSgPNBL7HFL /YXWZoZ2L+1rPUwDCJKYzORxD013HZUoOcruFhblcgv9td113QhLb0oEg JXpUf86DNexExhnWefZKnXGXeVTKTyr4QCgKISiyvgPZa3mW6dQTQINaj jGjWq+BxnpPincjwS9BCQpnRAAoQylUQyZBhd47P6eoT2BN6t/PzOBFHV I3TiJ2GFhXvhWyi19xDZ+lGelt+Nm9/BZpoiOXYzaILrQB3zFA05jK+xB HLSu/IrPEyXdw5qOhmJYcGpt8fxr5ua05sl3Ew7APcCdgQfZVBxzLIIz3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="349966565" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="349966565" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2023 23:51:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="694908797" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="694908797" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2023 23:51:15 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org, broonie@kernel.org, tiwai@suse.de Cc: linux-kernel@vger.kernel.org, vinod.koul@linaro.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH v2 24/26] soundwire: intel: use substream for .trigger callback Date: Mon, 15 May 2023 15:10:40 +0800 Message-Id: <20230515071042.2038-25-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230515071042.2038-1-yung-chuan.liao@linux.intel.com> References: <20230515071042.2038-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Pierre-Louis Bossart The interface is not needed for IPC3 but will be needed for ACE2.x+IPC4 combinations, with the substream information passed as a parameter. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Reviewed-by: Ranjani Sridharan Signed-off-by: Bard Liao --- include/linux/soundwire/sdw_intel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/= sdw_intel.h index ccb228eebc65..9bd6885ee34d 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -209,7 +209,7 @@ struct sdw_intel_ops { struct sdw_intel_stream_params_data *params_data); int (*free_stream)(struct device *dev, struct sdw_intel_stream_free_data *free_data); - int (*trigger)(struct snd_soc_dai *dai, int cmd, int stream); + int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_s= oc_dai *dai); }; =20 /** --=20 2.25.1