From patchwork Thu Jun 16 01:17:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 12883229 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92AC7C433EF for ; Thu, 16 Jun 2022 01:19:20 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C86861AA5; Thu, 16 Jun 2022 03:18:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C86861AA5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1655342357; bh=8CRPZ+PI7GsA3Vg8iyD0FuvbPI2TYAjEUNZkKyYokU4=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=hOnibFDPQRvLDgdn+/gBVuvhYwnFeVEquBkHeZ6Ugst/nzExTbM+/J1SGTlQ4uIPX ZQ4nA0hd/gSgX+PhLXbQdr4Qa7qEd25dUz/pMNq9TsxXTs2fAuLJn4MgcryCzIGaGH a5X2E9NYEmwvg1eNcSKgoezU+dD1LtuWEV+BBTTk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6539EF80132; Thu, 16 Jun 2022 03:18:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E2DD9F801F7; Thu, 16 Jun 2022 03:18:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7CC37F800D8 for ; Thu, 16 Jun 2022 03:18:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7CC37F800D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jXArw7Fg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655342301; x=1686878301; h=from:to:cc:subject:date:message-id; bh=8CRPZ+PI7GsA3Vg8iyD0FuvbPI2TYAjEUNZkKyYokU4=; b=jXArw7FgtC9KzWHlh3HSTVBwSMyQqwB9e6sct55tyPokk2hzeIlbLrB2 e6Tz6tsALe2xR5+4+dvPnPrFKI8F/oj0W8TeK34tVHL/gA7LKqtGU+XSn a24ZSkE6MXttfr6xAfReaDPnRNBPFEO0HZ77VVE8QTRtWxOt+okGgvKuf ml6sBuRus+Ue8xaOXaX4rJnsiqWHECc44QxNe5G69r2qPBys8uzJfbgGt nHo+VMy5gDpY0p6onlf2yNakpWmmROc4+US61dGEAbfLzlhPprvT2dYHb F5eeYzmGlPmqDW2DscBGZQ50Pe9yUYGEANcwFDt+53hIhgiJa6aPY2uFG w==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="279195940" X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="279195940" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 18:18:09 -0700 X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="911939275" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 18:18:06 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Subject: [PATCH v2 0/2] ASoC/SoundWire: Intel: add sdw BE dai trigger Date: Thu, 16 Jun 2022 09:17:56 +0800 Message-Id: <20220616011758.21155-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.17.1 Cc: vinod.koul@linaro.org, tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, broonie@kernel.org, srinivas.kandagatla@linaro.org, ranjani.sridharan@linux.intel.com, sanyog.r.kale@intel.com, peter.ujfalusi@linux.intel.com, bard.liao@intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" For SOF IPC4, we need to set pipeline state in BE DAI trigger. @Vinod, Could you ack if the soundwire patch looks good to you? And we can go through the ASoC tree since the change is mainly on ASoC. v2: - Change "#if IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE)" to "if (IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE))" Bard Liao (2): soundwire: Intel: add trigger callback ASoC: SOF: Intel: add trigger callback into sdw_callback drivers/soundwire/intel.c | 8 ++++++++ include/linux/soundwire/sdw_intel.h | 1 + sound/soc/sof/intel/hda-dai.c | 14 +++++++++++--- sound/soc/sof/intel/hda.c | 2 +- sound/soc/sof/intel/hda.h | 1 + 5 files changed, 22 insertions(+), 4 deletions(-)