From patchwork Mon Aug 26 23:41:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13778669 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 9C191C5321D for ; Mon, 26 Aug 2024 23:43:41 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4C42C82B; Tue, 27 Aug 2024 01:43:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C42C82B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1724715819; bh=GXeUJ9fg23rkvrqD5SU4jpikB8IOKn6erzXmvyQGBWM=; h=From:Subject:To:Cc:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=TZqXOIplrubD/g10cL06WxQlvfiNBmziRSZWqkaKNUb2I352ZaybnC0+e3D7dMi24 rGcDp2Yn6cSOH3ODZDQEdG9vTKAAL5mdU7PAbmvW53egZYCSKi/83HXlhSfEEgtzAQ fi7HuM15kAWUM6YKaa60JBQ1oUAgAU9PoDBmKplA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 13FC0F805C1; Tue, 27 Aug 2024 01:42:57 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1B6AAF805B5; Tue, 27 Aug 2024 01:42:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 44831F80423; Tue, 27 Aug 2024 01:41:57 +0200 (CEST) Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazlp170110002.outbound.protection.outlook.com [IPv6:2a01:111:f403:c405::2]) (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 08CFCF800AC for ; Tue, 27 Aug 2024 01:41:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 08CFCF800AC Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=adsRVyi3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hfXowG/Dzvmqbe9JowebhZZzGy0qaE77LKKYrSt45EdS51rYWgFSLTe1+CS4Xu21aWoLAttyGPasYqMNNRu1ncLh9JNhCe8Pixr68rn+QviyzIZVrumaWaXC3ETzG4flYQpHtQw/zCDGZAEFm5R9zHU5OOZOlF7wwr9qFF5jNc5h7O1HX2jtiD+8ZwYHzgm50y4zmRsxYngJiqtS0bhZLJxoHJ+S4MghRTganySPPDPOuO7RWU9A2aF8jNMOPllteQqLrY3r2ZOMPZy1LNa1eDKfDgcbRAiAbvzhdv/AIfdGYIypB4TbqtuKtBP3OODnCQ8xjrVzcp752brSGYgTPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=3aigsaxXD2NqUHS7rJO4upfArWorgSOvzEp0vl86cx0=; b=KrIa2Mfz5k3d4Fj8ROJztP0bkm+zAhwqUNq+eKQkrddTURIrvf5wdDSo+RwTm5P9K9QdzDqZz7mbUgD4aaxA+BkledamV1V7CXEdQKXo49rTsj/Ev7+G6rwr0JNlv0n6zaIra0Nw/hq9PLhy6Hdo9CNZye3ecOr3a9kER1r7yFJ9Vc0c50QB9EFiKUoXOJk8HQmKb3uyOMzgiBZ699qfcxJHpj6+O1VNXEEHZQHcg+DkPi3PV11ya3tiKh0soa7P/VnEsV5XN1BYMVj43kWeZs59AARrdk5mGoDlHKQYKwrS4mFhp2EGrLeqIufPB4oA3i05KWhDs+Lx6dUvUsckSA== 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=3aigsaxXD2NqUHS7rJO4upfArWorgSOvzEp0vl86cx0=; b=adsRVyi35boIfL0BHorBpr/d/4ZssrK1ltwj7pWoAD9ANGLjEAs16/uIcUfEnw85FAH4kiMPxdr2u5zEVfkej0aA2bKrOiNrLoQuAJf4UTkUFEXiaacjyGyxDtqZjrloRgba1WAfIbuNIaIdUaEmXWxVLRbuGi0qvpVGC17aAqI= 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 OS3PR01MB8196.jpnprd01.prod.outlook.com (2603:1096:604:176::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 23:41:38 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.7875.016; Mon, 26 Aug 2024 23:41:38 +0000 Message-ID: <87jzg2df7x.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v2-resend 0/2] ASoC: soc-pcm: makes snd_soc_dpcm_can_be_xxx() local function User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown Cc: Linux-ALSA Date: Mon, 26 Aug 2024 23:41:38 +0000 X-ClientProxiedBy: TYCP286CA0257.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:455::8) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB8196:EE_ X-MS-Office365-Filtering-Correlation-Id: 37e7ee4e-db59-4e7b-c504-08dcc628a153 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: umnDV0ARr5E46gOkrhYpy22h8eGdZ8dOQxtmsJq1EamhYbzLuHhugqOmo2tDEbRWnyNBXdspnIedA4/IE56yOtsTaXJVxVlGOAKyCYclybWGFV3GMK4qqNC/WHzIpr7Mc0ELeGhqobEBl7OI9TaMN5KACzcJTUs1LOBH8LLEUR0tGOUYo+h+Ac+Z82dsKtzxLxh4ol+HFz+sOEdwNqvesWNtL1MfSnj18URhKenGSdBstj9YVyvu+79HU3HtXsyb/SoGt4Hq5sMqFIZFJB98xREh/eDqRarhdYsZ3uk3RJTnX1rdelZh9Ng89S3BdU0LDuI7dqA3pTy4QVe8hTT45PCJ8JlxrOD9peu9DVFnLHMsrQbd4WoGSTHUkwTYzfTYMERTTry2tB73XPJT4Xk3tTx+XwAE/4POE9tyefmYrAeSiJEk49a8ykvpdjA0EyBx4DFaxMMi1eegcWgJAzn4BBSUPvACn+3CP5UcJ2JPtTKABUWB7rfhUdVkADBKq0U8RkNPucnyXZoPo6X7GJNgZRlZdgr1JeZnKA3yAryF7Ypc+oo60wbaNJL5q2ge7EZi/GLp1AgnZJmQ+RG49YJEbY8etj/iKoFj548dV7SUTQC0yIrdIT1f1aHuc1fop6vb48TVkOVbc4DHqRNkYUipt1uiZNJpUiuUs4ZL2O05svS26el6rUQLrc6F7Vkxwf8xfdFfh9dH2Xl2RtXPK72fqqFQq6BjnHk8hwe29hiyig5swTcoF8/shZ71eCjWqvJoCLFmBbpFvtOR8ppZSfzPryLKgUtxYwfN//6VsS1aG3npSoB4rnIqEPJmKEDPjp54IVNLOKgVQPjB9wJbgoLYEA4Ct+uY+c7q6CyQ1j14o4iayjfYjs4ogRO0wYu7zIaYJDIemZ8Z0tgBS2OTpNfHeCXlOR51tbI4KVI0ibPtBkdpFTOOxvSUEPenK61wh3glXyPSzsxR/rRMaXidgjM/taXexVrj61ME1KeVv5uRQoek4pH0WIHYmXz+t7ir6HrA22QNcTfMSLUxG746p9cb6TdWDp6xH/sQ29LZ96xLJuqB2NTQ3aAzMrKbM1t453vkP5FiTX4isYxx1mzPkwiWyhc87o8i/VVPmNRiSbmeCsIitiyR4TKvV3a3yJBmYw8955UZ041veNDo2v633DDgABmRQzn0c1GiDhmzFO9/azZEgN8nuNxJhvZZg7vF/4n80uNEwMtK+jmYLEnqsJtrW6C0aL+NySKzCGmmyRtxOehQARL9LaMNj3ytFHm/GBGPe3UFKHDECLgp6J0qF2mBkYNOddW+SqF4pN62WiyViV46GgUSLgDMaojqBavGr/r13CCqpEvmEFwmNLqaSdheRCAsGhqjGnJZh9IslM8EFuHKRAhiPSx17m7tSTCp9ImcPfs7Joiur3hFcvyBhM3Bjg== 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:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-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KLZ08weXp+QT02gXURujpsdfzB6+J8nHxZkKYravNc4WwGg2xw3B6bGOpVt9W2iRdR6Z8wobjjxomgfnoAJx2cG1/YU5xUJ7MiBn5fHaE3humQG1hiIHJa21xDaFPYhlfv2PpXfA8ZjvToL3vuLIVCKhdtH8HxzfHLlXBsqrLDLDrOlJQHv69gozPMnNfY/qiOJpeCfbedr9jQvEt1IMlbV+IphFfQ6oHUXTQ6DuMNQmSMwkYFgMeUvVY8NFHwg8v8/i54IW2KtQVRIufFA2wvqQitp93ZkEUhoLo63abM5gaoRepkpjHllisrNFsVOLcdZXXbyICG0cfG3HMP6utFTgiaOWVBoI3yBlAju9LMRgH/IHXm+XeM5VFLmoOaYHvG/+XGLA2dt7roK7S5kgx8WpWcZ2b886f0j665j3rK3FT1xLpyh/cutst12kHBBZo53uBEP9GcvNK7NYUdx3eO8P2Lpg3pOzL9Wmc7k7cqcnMxf/hObnPdC+NOmsLIZ4eGKA5FfQp7isDfuDn2uyObcdCXR7vo0mJURDEwpx3hR38HkaX12+YIPsEx9eTAGrr5hcrQ8+JZTNthbnbGwI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37e7ee4e-db59-4e7b-c504-08dcc628a153 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 23:41:38.8037 (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: kQ7SKDVrE4sheErsAB447fIpTRvYtF6XmUbVkO70gmIUY63+leZYFVLn9zOpGngcWnFMUB35g6QEUiK4BDI/EEC0RD6ZD/shI2rUFuDB3XKQAINO1Wm/XWqmrRptd0bg X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB8196 Message-ID-Hash: Y3ENEPWOVI4EVDNBIHTIDNWUEYN7D2YO X-Message-ID-Hash: Y3ENEPWOVI4EVDNBIHTIDNWUEYN7D2YO X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Mark This is resend patch-set No driver is calling snd_soc_dpcm_can_be_xxx() functions. We don't need to have EXPORT_SYMBOL_GPL() for them. This patch-set makes it static function. v1 -> v2 - rebased to latest branch (for-6.12) Kuninori Morimoto (2): ASoC: soc-pcm: move snd_soc_dpcm_can_be_xxx() to top ASoC: soc-pcm: makes snd_soc_dpcm_can_be_xxx() local function include/sound/soc-dpcm.h | 18 ---- sound/soc/soc-pcm.c | 201 +++++++++++++++++++-------------------- 2 files changed, 99 insertions(+), 120 deletions(-)