From patchwork Thu Apr 18 04:15:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13634122 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2056.outbound.protection.outlook.com [40.107.113.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9AEC54776; Thu, 18 Apr 2024 04:15:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713413717; cv=fail; b=YDHwbGWs1ERGOBbbxvS0DehFZygRF6kytTg5K4KTZzQeRpVfSn9+ap24VA+NQOOJWselXvMw810QA5qEBWU25BPy7Wx2OoUMVt8teft9a9RWEiAHNbuJ4QoaAHOFK+vVxNKZ3oUlX5y8LMi+ppo1n272xzinv4f1Vof92JfAL6o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713413717; c=relaxed/simple; bh=qcYzY4a9tVbIqSyKQZYyzVKaRVSXtC1XTW0nqd/xf1o=; h=Message-ID:To:In-Reply-To:References:From:Subject:Content-Type: Date:MIME-Version; b=gNKealmn+G1v4sRiaffRhTuHLuQvfM1ZDcrUfnrJJ85ioWGaerWhSBzsKNOQ+vq/inDyB07Niy25uBr1PPIGE/BNqxDHXNTQobdSkKHYRn5YIgO10Zv7ANVv9vCqCHmakHvRtSeFHzcfF3wY+nxTYRlUFoAR1ooWW5CO304gKlQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=pZLjyj6v; arc=fail smtp.client-ip=40.107.113.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="pZLjyj6v" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RgKqXSbkSZfXMLMOr3rXRkphIIBvik+eCgtud8bpKXEdasGLJf8jnA8L16yMJQiMd6DOwhyHYUxLvCilSbzxu46Fx1MpzyxionXZlJxpdJYFCT+Y88tYsiLvRI1DlRnCyUq3qp+CWaHZeFZU4wzQrQZPNVfJiQ63j3/SxYG7SNUmrGhiYUjCb7Sw0EYDbfA6/hhWFuOy3inYdqukpdcXGkrLrqLyH/duGoAMh5VsqkPNNfADAGCHc/4blxfKcLoVJK+OPzwfMiV0AyAWS6HA2a8mhz9CUS8usp+h67Zx/Nk8d9PaY/cigsIHo6hSJbE1Ed0osXB82tnGY9wWOe7GJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k9PKZ2elLyKF2hu4yo1yAX3p/asCfWw4MF6E6/ASqEA=; b=aaJSmpKJaQ8NRij4nngdLG5qG4kEd8dnUEzLZSuPxibm9QBKoyzFqEh/hxonwpnlq6ul4Q7cF7pxaFBjlG/0+exdeuS8cl/F3ygxBQwLGG6lpuVh/L4+Oyit4N9GHlpHieazygVSUTRNssdng3sczP6mYvcmnKOvVmZqmbuCKtASpwZvxWTtLScluanu2fs63jc+eyo0hTtez9C9CoFvVbtl5i4VU+rGqI39LxpUYlpk9BT7sX7jI4AD4S99Hq1syf3v7EUGL1hcVEJUTnhkh5WMXefbzYCkS7r1Xf0DIKXNc3Z2Nxk5RWyMzuzvmhiLQCxHn5XN0YDC99WDQNgFBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k9PKZ2elLyKF2hu4yo1yAX3p/asCfWw4MF6E6/ASqEA=; b=pZLjyj6vavVRRf6sYYq0KaykTVmQU2wCy1qQDoE0Ma7ycxR3SPuhLMSQ8lgY+7/m2NvEwCg8uTlu3b56x7EN/Bkf2P+Thr4Buwf+udZ9SxbjPvjpz8yveRbtQOTtVHVuyiOM3F8pue3hkUNEUrS8sh6ALSWbHLmVvTTyiC9U1SY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OSAPR01MB7397.jpnprd01.prod.outlook.com (2603:1096:604:142::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Thu, 18 Apr 2024 04:15:13 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::131e:55c0:a4a0:713b%7]) with mapi id 15.20.7472.037; Thu, 18 Apr 2024 04:15:13 +0000 Message-ID: <87plun71db.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-2?q?=22Amadeusz_S=B3awi=F1ski=22?= , Alexandre Belloni , Alper Nebi Yasak , AngeloGioacchino Del Regno , Banajit Goswami , Bard Liao , Brent Lu , Cezary Rojewski , Charles Keepax , Claudiu Beznea , Cristian Ciocaltea , Daniel Baluta , Hans de Goede , Jaroslav Kysela , Jerome Brunet , Jiawei Wang , Jonathan Corbet , Kai Vehmanen , Kevin Hilman , Liam Girdwood , Mark Brown , Maso Huang , Matthias Brugger , Neil Armstrong , Nicolas Ferre , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Sascha Hauer , Shawn Guo , Shengjiu Wang , Srinivas Kandagatla , Sylwester Nawrocki , Takashi Iwai , Vinod Koul , Xiubo Li , alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-doc@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <87h6fz8g3u.wl-kuninori.morimoto.gx@renesas.com> References: <87h6fz8g3u.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v3 19/23] ASoC: Intel: Replace playback/capture_only to playback/capture_assertion Date: Thu, 18 Apr 2024 04:15:12 +0000 X-ClientProxiedBy: TYAPR01CA0094.jpnprd01.prod.outlook.com (2603:1096:404:2c::34) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSAPR01MB7397:EE_ X-MS-Office365-Filtering-Correlation-Id: 37115666-726a-40e7-6404-08dc5f5e251a X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x+x1hBdcFrruJt/iTqCvinFEJ6zFYbCY1/vrW9hNXKcCH59ieVnqUo7NA6hh5e4rgQeES1du8haZCd2umRl+Urk3/Dsw73EeDJYP9LglaBCrA4cSwAjtA2O9t7ddCTZx+zdl/HsMo9KFyH/eKvfIJTiiNpDqPcYPvKcm/N+tvfNMRjy3MbsH9lRLIZ8Z4SzSbha0vF4vaBiXeo91GiNW3Zw/G7HH3GczQH1eoFlNJDYancmuMNy8ldGhuNSKlvbD0sulfllg5Ni2DkI6lmI+6GXubhKBgXOEp3RsoTMaF7DB+t1YGFlZ2eDRb9LlQbml4PKLUfeaZJi4ooKUaLDMH9wx58BM0LdsCSXzchC012qJ80O96b4cqC4MHvln/+C02Tvn2IU5Bw8NyyjbDCmC8QcabxV77cmsf3oTsJU+02gQC8BFIrolowjxWGk0iWiDOSFcqGJ4zOd0g61Pe7GbXyULEAgzBLmmY4MYZPCMobrw13q4Wzkxi262cwzKMDRm3id0Ohi1MvGkaaX/tY9zMvqRffRh7E0oOd6+fSC7O0Sy++KPMtEYavwqSKqd9baqFa5V4UDfXaiROH/X1Xws44A6mKdwHxsEPpPNLNsj/n3KLJCchEUFM59n657Fwg51U1AHPXyV7rN/gwvXsEw8WXxUAWEyIqA7uPCVU2ylIxjmIeqIvqGSRWLJo0Mk39vXIncvc/WEqkvNc/p3eL8FzomBkplU2vXLZSkLiEkJFzg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(52116005)(7416005)(1800799015)(376005)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wb41igkdHRjeViaki8VGTjh1beBJOPouuWEZZALxJfFZjGGxB8jMPszOmVSUIqDMkCfc03hZSTlg+O1uI7MiVhHl55/BkI4LynZgpqlAgyXcB4dLbcvlM1WbFhn5EuQn9dFmn5e3kgzoHF5kE4RMQxmrgSznXhXbkWjPyjabYefmMpTRXJh5/SZGSTkeYgjCpm7fPosbax6C21INvHaVr5Rpn9ttw8sQla4ta/zyab2kt47dERCPsOoCa1lXto4oHk7e4uD0uLU8OA/OU3qpFitKtBeAwKP/ACdnJslm/kRm5QoGfYFSNdlHTp2es8vidse/c7SLc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jWQGammbZjKF6nCe/d77K0dtYiAqBjA50Tq/CMUSSTSfcvtwebKMYB9A0A/QwJOg7qgALIpq03VxjAsS8/DKqQVEAELqwE9raYzn6kbuC3LJDECLsAb9+Fz4tpd+lFpY4pl2ZSxbQ5LajNCmTW5Y1jRV7xVg3pfB8PN/aFaeeu/yvHxfYPcEQ7mZIPL3Ko6YRxA1L1368RXoRjG4EjrLimMWEdMpRvuAbRmw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37115666-726a-40e7-6404-08dc5f5e251a X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 04:15:13.4684 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Mv5fDwlMyL3qiX1dYvjpr+Yzjw8QGCl9Q6oumYwAH+Pna4j45KibKK6z8CQSs9DQ93xAhP0KYwE9OCzTDUM/cHsdGejWcsumgMmcQOTfmn5z1zlvs6kVlJU4TcQFN6nT X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB7397 soc_get_playback_capture() is now handling DPCM and normal comprehensively for playback/capture stream in same code. This patch converts xxx_only flag to xxx_assertion. Signed-off-by: Kuninori Morimoto --- sound/soc/intel/boards/bdw-rt5677.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/bdw-rt5677.c b/sound/soc/intel/boards/bdw-rt5677.c index 54e3c5d3c251..9170b1d509e2 100644 --- a/sound/soc/intel/boards/bdw-rt5677.c +++ b/sound/soc/intel/boards/bdw-rt5677.c @@ -339,7 +339,7 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = { { .name = "Codec DSP", .stream_name = "Wake on Voice", - .capture_only = 1, + .capture_assertion = 1, .ops = &bdw_rt5677_dsp_ops, SND_SOC_DAILINK_REG(dsp), },