From nobody Mon Feb 9 21:37:21 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 C77D2C77B75 for ; Mon, 15 May 2023 06:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240449AbjEOGyT (ORCPT ); Mon, 15 May 2023 02:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240357AbjEOGxd (ORCPT ); Mon, 15 May 2023 02:53:33 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF1092D44 for ; Sun, 14 May 2023 23:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684133580; x=1715669580; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QYZAt1KxA3N+7/ATQML8jtFQmvmyxEPDPbTILteD9jY=; b=HiBHaOit5S2w0qS3Oi90tDLT5TXhL+F3Pxc713JrW8y6Lv6PEV+RN6Fg YKHVKPFBWSqNeETiMlN0JDz0p7kJnz4SIAXWxbG6StexiXCjeDLtb4B7x 3gL6GUe9PanLau7YyBEP/BJwC2wAqKnMD5+422uwZPXcdvT4pRhE1fC4P eheCb2l60HOoKleCeAB/euAOmF8Q/CBC3EBcFYMR87GaJ1O0wo59GAJcL v7G8rE86/dNuIrpTEJuN5QMP8X/jeQSlsT89A2nADcXjD7E8t89KJbodn ID/362MC6Tqgk+MbziNNkrm9A1W21n/9YaXWODDhxAeOX4igwvwm21wdU A==; X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="349966586" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="349966586" 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:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="694908807" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="694908807" 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:20 -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 26/26] soundwire: intel: use substream for .free callback Date: Mon, 15 May 2023 15:10:42 +0800 Message-Id: <20230515071042.2038-27-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 9bd6885ee34d..11fc88fb0d78 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -195,7 +195,7 @@ struct sdw_intel_stream_params_data { * firmware. */ struct sdw_intel_stream_free_data { - int stream; + struct snd_pcm_substream *substream; struct snd_soc_dai *dai; int link_id; }; --=20 2.25.1