From patchwork Thu Apr 18 04:15:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13634123 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2046.outbound.protection.outlook.com [40.107.113.46]) (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 3FDA554775; Thu, 18 Apr 2024 04:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713413725; cv=fail; b=Xr3RwIWt7UEquqmRB+l3uCKkh7WByIlRwDkpg8SPyuVEdIzYMFf9XpPTn7yo649dFNhczVaJlICed469v3kw44d8RD+KoR1iqByVpqkdyyd6Cy/pYVW+chbQSDWEnfQyeFRcAmPc48RKLcKJgiIoWVxwT11YexR8MeV5/G3VD94= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713413725; c=relaxed/simple; bh=LlmqsnNQQOEp3fF/iwiBkctVgtQXIkrh19OIwqkeM2M=; h=Message-ID:To:In-Reply-To:References:From:Subject:Content-Type: Date:MIME-Version; b=HP3IhHy6nnVSkwSQPux+vXPFzXqz5KoDWsEATA79DkpNvpxbAJjT+b32HoS3OmozSx1usEeRCliRCS3g7ZVDqsRQ7PlIEE8IZxbw7obs0/4uTZaIFRZ0FlJf23zeT87HMQiL0EBS5tqnRTeEb+F51NVvlWPGqXy6TnawC0L1wn4= 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=TOVtr344; arc=fail smtp.client-ip=40.107.113.46 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="TOVtr344" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CiCJ3QoZxD4oXzhygIKoYShgj1E0ajQu598SoYhwvG+0iHIZQBJgmqHTRQx+e/IQz0Q0MBdVXXbZrvoyQlfHGttzFUjSKxIg7xFKuVHJpmXfJnWiKOFzaUTWPfs2A8Tb8hkwMz1s/RUgjdFqcaSNbgSoVqJr3mGzuQ6OqEgymYkR/OWc6DcPnMTVOHqpAYHv9cOIGr5uU9S7e3lTgSnETvXMWH0VmGqhvQoX/MWi/hEuK9owYZS26FX3YUFKeBZH0i54flmLunJazGCAWH6114wfzak98axDFu8lqFAekJfQv/C13pu4o2IMLBV7c2HM06d1wzkdFmHWO0mH/tTFOw== 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=N+oJA1X/01OXatMVyFj5GewHkYkvWPE4j23i9nFKVGg=; b=i5JExYBGLujyvwTz0oxPDGTdSTxW7rlznNx9GFdi38vHwhlBuqX6ZURGu7S1Klfq7Zca1A6l4HK1K+1QH2ceSljLpdnq5o0BE1WKtiZG+pPHIEGgUJuGY+AyA4b3rltYNPE2jupXIkiz+O59Vy/IRoKdSPj/v378RMElvfMDBQs/gsLNgArkK/GUvXenbjN5SMEsM1wOsgUrzvNEROb/oPv1sNP3maGB1Sp6sWu6jXcPqbIHD9F42Dyb30LMOWNH3+yicHk6gzgpt6wHFqU822Q7G4T9mwK7rDrsqoxC9kpCi/ND9h7PjCpfOcC68ENUqsE/EtcwG96Ar0BOUAN8ng== 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=N+oJA1X/01OXatMVyFj5GewHkYkvWPE4j23i9nFKVGg=; b=TOVtr344IxfeC5S4y/oh5iTN72MvpxkGGxxrlZa9mInf3prIQCcvjFMk4ipArIqlTEQa2hlWzh0zZj0jF3mZTou74sg7x51JAM20Q2lrK6GIX1eAh8+ai3B0XmINOmezMTY1j5MFMV46WTNxUGM6ODNJHnnaACl0FXzipCq4rQE= 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:20 +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:20 +0000 Message-ID: <87o7a771d4.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 20/23] ASoC: samsung: Replace playback/capture_only to playback/capture_assertion Date: Thu, 18 Apr 2024 04:15:20 +0000 X-ClientProxiedBy: TY2PR06CA0024.apcprd06.prod.outlook.com (2603:1096:404:42::36) 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: 8de798ed-9ddd-4d41-adee-08dc5f5e294c 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: eYoFoY1aZpSYFdjZ+YAzJeCyTokRhyQ4wgDXjAW4jVD1Mgv7tM/MZ7Uu9LoMGc1EW2RYnELLhnl3BZbglXf0c0TtfQR0xBQIUuco0yo3Uyo6WjVN1MFJsgQ9aGcJRyKQjkkRf4gRunJbEI+lZtmhCychg+eY82D1HK+uUBA0TM5bSuCeKwTJklAey201XffxleHJXXU7JWOF/zC5M/38cA5Z9EudWMikB9LtXtz/5WbDphsDLaBA8DMmf88lJ+izRoIk0l2/+kxNxtSAkvI5XxNLRxG1wmNeo75lu/4wvdHkBh3OG5C5QXFtyAAXf+COW8o225nndf4WtmyfJ5DsQXANy/0WQP05o1Ocj+fNX8Di6UgzqiPFMkxOGZL57gC00XC71UcbhpVXtysMbRZo1wQtEROovptMmuB63ET0TcKtFAu3pe6NXhZBEcvXV6Lly754NNzd5qaeI4Mwpc3XZaSNjZI1rqy3MUF7LmBhZF+dtR2i+Db7JLzqKpsfdzSD0O0doTIVZl/aVAUuXRFBnU4TDb2zd5VaYJJ+1USEk75MTWIt/ec9isTpyhrxrWlEkY4KmKBdeKU9tc+qNAa9jKafkeIJIHLJj1nDGmh3qJ19YoO90+cfmSl/diMC8acg989cwdmcv1Dq5OBcDHO8b8nalw4VYQInQsjcZumpZi8FXs7knMKbAr3fA0wcS2BZDisT/c5Di8/ZtPOJnOl6ZFeMuQ8iCVz1v0hJoykGHY4= 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: OP6t7IHuCJW5wQjylEabbWXS121fDYt91F6pmO+uVL0ZYUFPsBG6sbTX84yjkmOZbNGil61lKbajf2s0qr21SQHhfI2xLGXZAnUBMS2kUf5biVHMWtLHgjFmSq1ZY1h2g/T+kX8jv1BMttWPo0dHRI1awM/LX6Ze8wa1dTNpsHwUOHfjGcvouB2g3ulrIXixkP2+/lpZj+vixcr3cqlQd6T9o1BkicsB5wMkDvwZN2PZbISJXMIvbZMultxODZeHXHFyC9QlvHNXSc22Nb75vCxnPMxJNRK4ElYYvGwlZLQDCcPIv9FrkC4cDDMawjug4JmRrtlyUHhMCYTk1QSnHzLS8Ez76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zKCMVe060o1dHDHA/2j9qbZBcaNM8wZBEG6LjkWH0Q0RIjsb7M6VPxXuHWdiObxRm6r+Zi2GI7d830Lgq+03dEn/ycQtDO9rOeW6AyZejB6fULvhyhQSFy974Rk1jlqeSOemtxOX5hRpU6Y1BIgGzu9iZyr2ioj592nVJ7A07KTWh2nqGwvAjjHCnUu9njzm1cAKZUt+rsxzK8WXtNUlhx/gxBy3KYMj7z0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8de798ed-9ddd-4d41-adee-08dc5f5e294c 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:20.5296 (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: Gl2HHbxQvCwkOfBQ2YXswq/G4mtSbzpQnnnuHTg01rzudXKlq+avT0OLVTGqI3cu/pnn/9c1v2dGpshtakNipnNJl++ruZ7I52uxZxVX1OiNrN8n64H+TjBFLbdrxGRH 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/samsung/odroid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index 35b284897d85..6370122b0310 100644 --- a/sound/soc/samsung/odroid.c +++ b/sound/soc/samsung/odroid.c @@ -184,7 +184,7 @@ static struct snd_soc_dai_link odroid_card_dais[] = { SND_SOC_DAILINK_REG(mixer), }, { /* Secondary FE <-> BE link */ - .playback_only = 1, + .playback_assertion = 1, .ops = &odroid_card_fe_ops, .name = "Secondary", .stream_name = "Secondary",