From patchwork Mon Dec 9 07:39:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848469 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 C4E82E7717D for ; Mon, 9 Dec 2024 07:40:36 +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 BE630DEC; Mon, 9 Dec 2024 08:40:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BE630DEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730034; bh=Q8QlKXPR8s75XN+Fh1G+bl+/f0WYaAdBRcq4DtSgYXM=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=GtGAcuxoVauiyVq4YGCdXnL/OvYPSaMjOetE8Jv8/kwqkmNwVYEboaMwA2GS8/GkZ pXZNeopxQkS65X97vYOpkFa9k/0UvXGwDeTcAS2xBzS7VohO/bJkg8eZP69xIDWQ3X fAQOLNswy7rvUSSt8hySnlEwhdb5NI6OzK6eVqcY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BEEA9F805C3; Mon, 9 Dec 2024 08:40:10 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 76B5BF805C7; Mon, 9 Dec 2024 08:40:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 25DB1F805AC; Mon, 9 Dec 2024 08:40:03 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010065.outbound.protection.outlook.com [52.101.229.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 620AFF80533 for ; Mon, 9 Dec 2024 08:39:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 620AFF80533 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=ZvH6RASM ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mA8cNqWtl3DAWxDP4Qs15q070XyV+i2xGBcY8eeFhmWeVcVP6VgKIIirAKNzv0tvpekeAIdTxYyWU9jtEUZhWjeqkkF4Vz6N5goTwQfad2PUL5k18O+rsAnjtmVKnNa1M4p5goobtiJAdPdbjlaqN+TkpV0nOtQAIRLWY/KEs5xgvgWHPcsHjdFZ835Z+5xVdblI/v5VpsX73BbsAFL79PxPcGSTLubwdw40aCErK7TitZ2x4BCaSOXZCreDimfFf6JPQ7ECPg95eldek+AdBI3RLWHaGJnL9tXT3/BZcKwYW6QgO7dZ4wdhkOI2k4ZHJ2X20xIvpx7Y4b91a05mmg== 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=q5HmWH/Cf6LPuqDOZT6MNvxQraeIjUGefr9rsl/vliM=; b=FaLWDQH42Yctwa2u+vYC6OhtnAcpl8+6WG9w8WUdKOY/y/u1zVnRtqrcHeJGDWGgvPisQD69qF9f+GSNz3W5rZxulOZ9qbhQsbdfzPoLoC2MeYsksXhA9NccVvh2A9fiNcFZWRAiFzmmqdX+au4lCxD+2Na5lh4bO3UW2L22Oqab07N3FlXXBcUMTE+AdAXvZUYcny7G7mDaFeDBP3I/6eDw1V5VsKcCfwiwdcsQoIy94HdR+pEg1WQU5hPS5bYVitm2rCYYTvn0NQsTv/vnIpMFmBxBtb87JN2BKRwmh1InFoP2xy3QzTruDbLfucY5r0fSS9H7DnnTLtb5xPpcrw== 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=q5HmWH/Cf6LPuqDOZT6MNvxQraeIjUGefr9rsl/vliM=; b=ZvH6RASMjkd2XHBMzJ3U5k7t56fQePr5ctNRAK2wbCpgl2amhY0a3lkuYAoki46vpfs5ipH0Djw6HcnegGL1W12kqWvz0D16ipEnSt+Op4+NUaaaJ71jy1BztO0Kf4GZOvoZLNjm3dGq6xQsFGnEqcPebuAjefurqJgJn7GFPYU= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:39:35 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:39:35 +0000 Message-ID: <87ttbdmhjd.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 02/17] ASoC: codecs: cs35l32: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:39:34 +0000 X-ClientProxiedBy: TYAPR01CA0187.jpnprd01.prod.outlook.com (2603:1096:404:ba::31) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 31dab612-52b5-4368-9912-08dd1824a0d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: MLvvCWlDisjxi7htlLwWsCi3QL9OPjAJNmpwNeADLmu6/Hmng/ivlIa6vPnKkulebF7AFgSgw1KSAQNGUuAaYGWQ+whgbo9eXsKzYKFZA/UMVhmvU5stUj2mPgELZ7LNq7BeXh0KAgGwQlfMtGzLbWLu5m8paUGsMnZ775ZVDhWgNMU6bQxKmuGPJ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cVPQaqRQoosEl0nu4KwjCo/wEja+DIZzhcQGDsNNOKXlwq4fToMao0tlBmxQ14sDVN+dB0OZ6oesdfB7gK2WvpucfHwziCIR4EUPeEEYR0XyuH3CXZSL255qQIWIOqJG0FB19W+7VkbAV/Gi21lGwJVf5kgAeRfvhtlKsIH0xWwFHAzsyo2Hh1aynSR0514QW7M7gBaC 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YhWOgMkJFcar1zxTHxcGdTL9kI45lVzLvt51DHcT+pHHFtBMaJCkEPt7t4IPpBVt9L1ICf2vj4YnE6hC5/GWc9PY4KxOdvZSMhBYmY6AdCvc56ReMNkBUzUJyN3ssmEw4p5RTaCEYtOUu400jxBLgHuBBNsMgEuXQqEe2oq1VqTB3NTlh99FGxKbOpY2yZLBgS2dOBT+mkaFIBRwC9m/jt+iEgT9WprhLR+xMNrEZSeUoTaEVmkIFnucwI69w3U4zxJF4mHDC/yciGiiQXY+quuTHl2Nzhne7TS4yRAB+DJAi64+HoQXfTMPkyZcr9gYDvuyBqR/rvCB4uy6XaUEQjHHacuatYgn6CFZvsQuDTetk3Rp0bjc1dWhE/cw9GB4DMJbh8c8c5a+TvHxyQqcDvqvY4IXkV8CGo8ldbDjtTvLCUcNWAhNrf1MBdRiped9Og0Po1MtfqYCiKrvzvAIze0Yv/usdP1wmFHS0+8LpJap/UvsLe3vpgEwPqwiaoKcd+80qiWPczWQMkFWz8ibGE7FqCnWTPRjNeWOgkcCo/cmUQO4xEgX3fq/3B2jkeBQuZc2lnp01A2M9+PpbTrD0fjZFAki3nf8J6spHrpT0X2MMPW2neBgveDC6ecHbOrTkyF6NC9SuFxCKx8q+yRwa/FmTOAEuhkpPTUlzAEp7kdL/LhhG1sSzJd2U5ZURZZegWhOc1ILRvO4sRy/cL1g3y+/nXO+yKnSPFvDZf7pFJdBMPInqU7oV/ld53G+MfyPSHJ/pp8qemwj6aytGzETSw7Rn+c2iRoHpyYWTclEw3AZT74whPj6UdP1yGXEN8gnKqu48VdBIColkJsb3xwJLeuIfkI85UkKAof473d5nF9V6r3F/YZAT5tYEQe4Udxcfq7F1B3tO6Lww8WtLme2Z6g7CXW3lTA8QC4wgEhl6EwjCvCHlZ9Pa6bfFhlMiBugdZpcHMvGzAVzvEDjp8eu99nXpolB/i3e6zBxUWVbT9HDuhsUlyStFzRHDIJQXT0ZsYNi/0ya7OnxxgrY+EU7P8YVqy/43s8OXUED8kYyWq6zKKURifXpIGfkBBfaQyvO8IxACYtYFe6qygJofnNoNHPjmbwyUqyzJge2yPX7atQ2UHuNkAogr6AUwFpSTVoizFqhKdDjAgN8EmqiHMYD5jcZfe7v9HJthslb0SCkXhROwCRTgPoOoxVAFkvOsP+i1f03ZvrXlDnATQFolUeIvho8BvjwrQqQYlU2FSnBN53TjKiyHpIXGkIkIhRkTZlIn3Nl3EQiHsONLcyLlJn7tHZtyayygrXFYiDnTyexsueOl8FGZlEt+ef+6a8Cu0uxwR59ZViX3mt+ImwkSLkOa4vP553dS+zc/H31KZYZk6589OIvhkn41PqIoVsvUt0lGXB0ocbM9LtwwfgQ6wx9evl6lh3Zg4tloYxaGahTYbcX19yv9OL6UaOwS5guuNtOCRaRNVFl78LUkiEZGOEidhzcMTnDJV4iHBH9UpabjCVhFaJ0jPfofsqYetz3uap2i7AftFr7RIZMcz8X8ZxgdjXgUOYNNh62BnUokTeIP2sTIrcgkgmofea7H50QF+fwuUd6lAYynja0eBywIYxtIZs2Re2AdlKSYrW9O+GKTok= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31dab612-52b5-4368-9912-08dd1824a0d8 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:39:35.3918 (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: 5zpveS3/TMtS0ohEQ3DZhy00uM7wHTPpIq6CtXuEyT9NhLs/sI1L1LKCA2hj6m5Zay4gWV4xlECnbVvLGNtnVwg9QNRIBrrQysoEQdHWbaYGQ2VXm1zEkiBHAaUd3xDV X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: UET7JUEJZ6A2PFISHFQ7MXOJMJLSW6EE X-Message-ID-Hash: UET7JUEJZ6A2PFISHFQ7MXOJMJLSW6EE 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/cs35l32.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c index 96555263e10b8..cc9decb593b54 100644 --- a/sound/soc/codecs/cs35l32.c +++ b/sound/soc/codecs/cs35l32.c @@ -169,17 +169,8 @@ static int cs35l32_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) return 0; } -static int cs35l32_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - - return snd_soc_component_update_bits(component, CS35L32_PWRCTL2, - CS35L32_SDOUT_3ST, tristate << 3); -} - static const struct snd_soc_dai_ops cs35l32_ops = { .set_fmt = cs35l32_set_dai_fmt, - .set_tristate = cs35l32_set_tristate, }; static struct snd_soc_dai_driver cs35l32_dai[] = { From patchwork Mon Dec 9 07:39:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848468 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 C702EE77173 for ; Mon, 9 Dec 2024 07:41:08 +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 0F9CCEF2; Mon, 9 Dec 2024 08:40:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0F9CCEF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730067; bh=XH12Mrv1Vph/Nlyasor/BYzNxgp+9kqqjJDS9DztZ+o=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=NDtR1VAS8iNFkzlkL/wQPDXFJ0ILUB3fi5WN8lOi+OzBMPgfxZf/8Bck3uNiKr9ug u86q5fJ8hque5YYXXCKcHRz28Xyqaa4WrnDD7jZG6Cz5DXdzZV2kj2fZR1GnOQRwpw Xlx/nPd1i8voIYVP5tYXKJQg6SRHljlcIO7DcoNk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4B13CF805F6; Mon, 9 Dec 2024 08:40:24 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2D725F805EB; Mon, 9 Dec 2024 08:40:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2346CF805C1; Mon, 9 Dec 2024 08:40:14 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010065.outbound.protection.outlook.com [52.101.229.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D8281F80533 for ; Mon, 9 Dec 2024 08:40:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D8281F80533 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=oZyUk1rW ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DkTZhW3/MMBRII9esHd2We0bWEUJY6LqocTxvdd7ftan2GyruDg8cTn6Uth7YK+olF0ZsmBiqY7TxgcNLubPdHQ7ENHKh1qizoXYVFgd/lhjQcJyZG4otqsekEoPt/rrLmQnrKZEw0VnNZTFlRm9GxS+AZYbU1Gd+XNr3+2ZSpdS3ah2nInNU3UXa4sQOuuA1vAQ0LpHuqnEaqJRAg9//rQfgteliAbdpdtLJsdnrBvNPDfbhC3vYJm+tNkv7smRhwI6V5UbN67sCr4Kc6lHcgH4GjuUwIrMwbYk/SkWMAT/rSNd6dYv51D6Wo+0FjlBd7B1kEcF5kgtZGJLv6IfBg== 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=Xrh2dO7oEJjloTlgw9PWXTGbvAkS7kZdGGcW1LHBK+s=; b=ydj+dxcgSZFhQPynLM/OUDQ7ICrPcA9lisFmQV3hCWUMO396NQWqd6z+z48LvclJ/kSKgPeZxPFkA1oq2/a+tGABXUxmMdCwRUrKMRxHTe/4HGH8aJUhUVmrFFNxy+NpUWRLgaclWY0/1poRugcADe95tBIS5VvhJ8APrzlcSmgAX2uB8uvuGpcsGqjNF6Pn8CAulH6BW8d8Tt0F+DAH0otea0Fk9ErTqKIf06ZPBr2wQ5/+j7UJr5K9WfKy32m5mdoLhhzRuS44qaiO3rOjdQiXml5GV1yIYlo2J/+3Xzi9vhb98JEtjBBV0lo6zLBlqbcTdVYEImvviEeqBArcKQ== 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=Xrh2dO7oEJjloTlgw9PWXTGbvAkS7kZdGGcW1LHBK+s=; b=oZyUk1rWl+R2mBNYN2va9EGh21gHOzRq5dbhSrw29tv9DAUgcbz4RPEBPcjuneGfiP+kU4waN4fBnr4H3wPpYWRNAz+N77GESiPJRtx440WUOqcE7jrR0XLzeIcPNRPESM/oGv20sEg1MwtQryRQCprV1ftPbSUvDjSZxAH1TZc= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:39:52 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:39:52 +0000 Message-ID: <87r06hmhiw.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 04/17] ASoC: codecs: cs35l34: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:39:52 +0000 X-ClientProxiedBy: TYCP286CA0125.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::7) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 8939e80c-0307-4cb8-4258-08dd1824ab1b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: Z0CZC+b4nnNYZ+zl+2rtQkEw5Iv3JMBBzUFpORt0MDYCtZFc+RzT7DFixDSxJ2P4K/vbMujiRQhcZFJe1rZKtBc5McmIZLX8nKGL1rkPSNZD+fH7644/nekmWhG/oXvCyN6RdMoMNFXZmQNI0K2qu59bFaISDH5XIpJuwz9yXflvWtV1SxOkZN8lOtLPsrIN2GadoHcqnd46KURL0Y11hD/3PhT2AfHn0sfoLLh08qsvecNTvzu4tZ/obofX35Q2mGNA8tCJPV25OAbx5hkH7JoKJCYvblMpkfGaLDAU/vGfJ0yZlBBLh9/I8n4pNci8RG2I3aj7n28dkubiwkzCkEwf9HHnV1cYJ7ILF/3Da8QYMQTQnFJLw+Ai3Kvjtx7mGMecu2bpX+gAnM+k6tOmGTcP+H9lB0kDk3Nb1u79Y6Qemv5eXCosN8baMKXrAAd1EO1ChNfCdWDDjMdyRfyZ7eoBBnE0uJnJ88L2vjkTlrjXHL7wiGho6VZT4U54Gql/pq7e1BlmElLB8N3zVV8w20nCoQnMr34WRqam01w2eCY9MiRiHFkJCiBJP7qPN4ppo5gpDuL908bmeK+bm+ck5rtT04w1LcGFp+ytMRqqYYcnThba/ttCH0UMraUjzgioaGU8iOoM9H3LpivTwoE78zFEBR8WC0DennpP/zp9u/ZlWL0oP+AvGz/Aa+I3gfXoUbf5R1Yh2ecJLKNl94+CwrnMDBQ13ixRnr+Tc3p5ujTaM/4KdS9JaNmjAjHf8ekTMR8Jl4RqMawrnrR/IWuDy+zy9FlnN7brjg/GrwljNHUR7/ZIuA766WXX5pDhGM7RwLXAgWNkPKhrIvjNRFQtPKQyXHlqChenbZJO1LQ8osm0cBQnKsNqc/RXm64bnTIFzcVu2ezlhmWRwwlNmtgXeIxTdpi5RUKW8DKvhfHpwuHMPdicKNnmhost0mpyAy2ULedUZ0afEOoq46ZRA07wBoRf21tTvMujYgEdqPby62p3dRqElpJObF9rFpmiXG9IcJrOHGFyGFYFeqixGuOxkGITGJxiVL+X3M2Lr2PhF40UbyNfHGVRCu7CY7IETY0GGW00xxNOrCmCUAOj5NANRHp8Paz0UczsOkTD1WneeeHz8X1s/aSJm5ES6oS20MVZBNdE9GLgwVRgZuzIeSN5rmCL7etaSPqXGDyDozsgj9fPMBj9Lllpwr1kNBkrOfyLMOnKtxrSqAZdLvru6eEgFi8b4O2zCtAJnGn4L3OQvGePTuhL1pOCsS3kEIO9oXceaab8fL5S8os4mTWKMB+K6qYnlrFZS79GVgVi5hQ/Mv/s8whWaWL/HzNNtxbRMvwkZg2MIs5q5VG/g9l5HXAptNup75e+nIvYWNQoMjGszp1sJYhNJ34yqK+YiG5u8P+TuZn/FxaZbL9ugx+xT5ZA+Z9Afp7JGGr/DCmxRipgmQvIAXkExxMX+5SmP4CYhAfh 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FXMdtWxNaImXKcm7s9mVAQGk/inP62kecd38UQKnVZaP9htI+sVF2nvidOUXVWXLCAKETzYHdpROi7YFbpWDotuAMdz4s90a3YWnzjW7KDwfQTqsYc3b/1QXv5hzBV75jEtG0LHISO1NNThNIpQWb1HJ/vvb19CHyihjtf23PJZbAO3r262UYm40tuBLtsLOGR59Mf2mJjcm4m6RN0CZdRbMdr8p6KQY+VMnCTdo+fH4Q+O3cswqFy7HBIu/yKviA8WMvZasNoCsFP1V/MK2jHGn5iTQqEPwtQgLsqm8XrGWa+DbZH9eRWqvksab2UThXTwbuT1IZfNRvlPBf/+dqc6mxF5bBP77tcqIl21xYSpWimrMylGne9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3b4FVEJ+QOgHgsWgyAsxA6+iKmXO3xJ4+IgaV1U7ky7j2/Dp73FUDROWBtNAJACm4kfrXaMNCPTy1pQujXuf9hNPUulnHumurdvPGnoUzv51oxZ/nUv0/8CypWUgWNxpvMa4z9hBuMdGtHSJJiZxjoGts6WFB+yAfGM5FRPLoPmsq4GWLDkCNu66NUYW80rHqgYERQnjL0+XDI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8939e80c-0307-4cb8-4258-08dd1824ab1b X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:39:52.6174 (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: wIXaQn/U1yB0rnG0vaxN2EpFXiSGzkYbWuDxxOFWzRO79eDzramLHvVUmESPHralWlG6DFtUq4LMZ46ydD4Kb0qf0cHZ6KphWJpRVlDmbFnpygbzWbloQrlmtHFS+69v X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: XSCJPTZ5VRFTXEDZGB5M7ESZ7BMHXM4A X-Message-ID-Hash: XSCJPTZ5VRFTXEDZGB5M7ESZ7BMHXM4A 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/cs35l34.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c index 287b27476a109..e2eab209538d0 100644 --- a/sound/soc/codecs/cs35l34.c +++ b/sound/soc/codecs/cs35l34.c @@ -562,20 +562,6 @@ static int cs35l34_pcm_hw_params(struct snd_pcm_substream *substream, return ret; } -static int cs35l34_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - - struct snd_soc_component *component = dai->component; - - if (tristate) - snd_soc_component_update_bits(component, CS35L34_PWRCTL3, - CS35L34_PDN_SDOUT, CS35L34_PDN_SDOUT); - else - snd_soc_component_update_bits(component, CS35L34_PWRCTL3, - CS35L34_PDN_SDOUT, 0); - return 0; -} - static int cs35l34_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir) { @@ -619,7 +605,6 @@ static int cs35l34_dai_set_sysclk(struct snd_soc_dai *dai, } static const struct snd_soc_dai_ops cs35l34_ops = { - .set_tristate = cs35l34_set_tristate, .set_fmt = cs35l34_set_dai_fmt, .hw_params = cs35l34_pcm_hw_params, .set_sysclk = cs35l34_dai_set_sysclk, From patchwork Mon Dec 9 07:39:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848467 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 68E9DE77173 for ; Mon, 9 Dec 2024 07:41:48 +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 23B64A4B; Mon, 9 Dec 2024 08:41:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 23B64A4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730106; bh=BDL3R9OJdgk1u3JUvkLiAC7cSVXg6yPRcZ5PxpP11Hk=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=ivQKlhS+x8Eb5MYBtX8Dwn4rm1um3N+UwdlpQUdcwmkKlQJGSRQDBQ5xODu0dlfv2 iguqEHPy2nGGR01V5N6K83dsgCZBmdmTbVWp/YiI16UFejT9DPHVJZahBURBc8L38F AUk3LpDcEy6UiilGktV3UwWJWrQ0uSi2ZOlskncw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4DEA8F80638; Mon, 9 Dec 2024 08:40:38 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2122AF80639; Mon, 9 Dec 2024 08:40:37 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1FE2FF80448; Mon, 9 Dec 2024 08:40:15 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010065.outbound.protection.outlook.com [52.101.229.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 42E25F805F8 for ; Mon, 9 Dec 2024 08:40:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 42E25F805F8 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=aaFRnjza ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=O7B3zJa6Jh0ssSMIDNLxFxMYl+lkbDxSyjUH9LK8rAHQaZfWRqJL1J55JbX80tgUnj9HVXkazHE6ZjURMDiEqxozZHS+x/EXyeOZ17c2OEezt8A18PY8HSaODpNUcA5nsO9qbJ3ur9MicvILyLG1zh4VHDkty37vj5N8BkT8sIRZP55KyEsj24xeGnuabU6J/SqD43KwwDXp7sAqP9mwPeukJWIH7Flt2D/Rzmnm/OzAdjE/S6pteUKqRNihZ/wLxoJ1fvfwmwPGtUnfguaWWeyNNr0uxX3wh2pG8v7Pvn0XcCZtQUELVd2tZbGBXD7ujcaYIzH9vAn/ro99jiTDtg== 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=75nfToXdBFWb9/bIN5Em9gy3MQ0A/ehuMKVfHasCd8Y=; b=y1KJjiez0EtDPyjkjNE+zFLDPq+YbdDhGQTb1GSUkJ03fqJ2ykE8PmIevgk5deCAOQfzxh3k9j26ptoGQEa8H3RLy6B5Iz3NcnbzBQuslPl+gwdAop5d+b/v6XWmNi0GR8Wl0dvBDraglWyolfqSFGWEX6mxCJbeFEiBSdqlgam5ybP+I4KIBCCykXIxmeSu+xi6ko9caeUP/XxgMEnyJ7G7+gwPswMU5ARXfHHJYH1PgVhya4mjXOBsQVx/qdQlk9hi+qoxhxzLn91hnYHK7kVauYqR/85jPV4HXBZO5Kz4vpAejPoxDVef1ox7K7d6QVNDt1aV1LsqhIpe7A+r7w== 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=75nfToXdBFWb9/bIN5Em9gy3MQ0A/ehuMKVfHasCd8Y=; b=aaFRnjzaQAZmjGHktEKWnN+O55dO97Lv5ogjL2AtSKn4f3dLxkph7qyg3JFM8+Q9Zs9gTbrchYNnA+Dcfof1ffYnd2+asYJ5d7T5dfGPTUCyBWA/saiWXTiLleOxjDbNT9ervyeCCGRI+N/ySxBpEVMjrCPUYJWtstK9B2q0l3g= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:39:57 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:39:57 +0000 Message-ID: <87plm1mhir.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 05/17] ASoC: codecs: cs42l73: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:39:56 +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_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d34dec7-783e-4ba4-bff7-08dd1824adef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: i5iRbAGs2oPguQ3RUHqi/AvwvO48ukhDtYJByLmnKIDewDB8VWEvVK7mdCn7hSlNDnuxxOEgRtS27602F1pgTQereWZ+0Bs60mwixyEeMwBC+U2wUkWFbf8gUQJXrE+7y9VwgFGkOs6LTMFLwSxQtUgP4Ow/MZFv3A27rU/ZLR8VWeIHd9p/bkStalTsWb5m/czbzd7AAB0L3do4BI7Ixd06et6xOTMzED+JuME9/xsbKT9sJTjli2Vx59SbI8TDQFYVqozy2+SUOvBMY0A7M/AkJcR/yktSK3Jcn4tCQyFMl3+l4YEFx7Pe8SOwKqebk7tE3t29cihMpclQnT+/XBZHbdBwd5vvbjKKYIqOK3WoiVN6XekVxhq8yOUFs04B29Co1nw3HUtDdFh9ysbPpfeu2bmuelQlXYeFPyu1PAM4yn9y4fJOk+kfnslyu4pljUBiZkVEUfcGwJi+90HXgBDJpRW2GNmjh11TV+gi8eiiv0GGpkHvJXytjnZT5WqAVCJn3nLYYbuGfQU/XkPkusSMoCc3QitM0YTTzd/U2Ucpl5gLxbKX2szYquryoM0X0FhYuG/okhBWdPvIAOJOadkfJy8u09JOWIPYiAQrhVeZK/zjj4XZnWqXIHKxj8twHV7oxzEyrDp49/k4r79ht/S5PAgX1dpNH6nnfpLtPpDXR/i9fSS23jcNEyfkzDH8SKUDGAp5X6wBqpqKXKX7WMO8AXHaA7db1NS5cV06wzwYQLpIUZ0hegot/gM5cmseCjCAizwB0ABXXxZHmOVoh5mTHPpzOQxQRsLATxgzFpaUox/xQ+9f7Rw6jZpIoZXWe/T/gHnebCY2m9w1fODj7DFmTotiaYRpwxbl+7dQIXXF4Elz8CfIBgR52RjotBjxsHzqKmffzO5TE7wGzImdNJMIVKVq5WbxlO2Dwu0fQs+NciF7yGnHK6wLG7hnSVzvsQVMBHCBUZ27ipHvZ02Ps7292X3ow0E0tjxHxP809G/RWVLkVhfnyYe9hZ3SkNUamhVpAXx+ajC16PyrBtlJOMtXah6Mkatvw47tq101ZSyJIB3Yrh7gSFTKPwdaklxsZh8gxp0VR+jjmgYLKUH8ap3fP8VapImufq3kHVqglG2mjfxD4wkTJlWnFwQOH92GZbxfx7evh+T2frwV3SKpL9ob5HoUx77wdi2WGUHc8ZYZhRk8//PTchaxAm5spm8YMQ9sgvtoX9r/dpH21uVGveR55tePrr+Sf54IVjank7Ag0iLBcB+l+i9dibLA2QUJ+NaRPQpM2OlddIXguaLfZq1xhpduJVbGYJhhPcHpEjKy148lSa87VGe/Y4tCrJDuu3tOtU5T67sgJzEVTL5EX3Eu4Zn+is4KR4o9FaB/V8asb97RiE2lprjCMGPqLLVRMqo9KSwK78MbL6jPL4VLJDp4LqV7dk1YRhZJvCg1daH8Mz2EjBSyq9P5MPsuuWYd 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020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uXhC9xl44WhPg0zB6n5L+SVV8t9nyyuz06YTPu+/F1oe1uQ+NaCxKxGlPUhb/FY51oIKMj53w0ykpH/AIzJUOEZ3ARsuN+Gv4hlrSBro4dc64A2tdzowvGhA2QMkO6/bidC9Dbf+oV0MbixQOeaYextSkXAlpCoEpL6sBw10N+IL5DZP0EfgxNLdJwvtncsf8UBASzRPNNmuj8XGXL82VdAeIPcI3pnLEFq5LZs+HhUP5U52Z9HPhIzyDheYfWJkVWNndGzQqxuwLDpLg/G9D+M/vz9p+M6Atp9D5db9UCvOY/KDxJqfju0NTqYH0H+QRRZHdTcNouA5VChuj35tuAQK/hXWyx+mgAwoHdrXmPmm7GphfU1l59HaRu/UPSqAvpOT30bds6rzyDXW2zJRqiiDzYMK5gY3P0jVm3ZG7zWUX1pzFpwC4DpWINM/f581kcjIQEYBviFYbC1Y7bzOChUpu6Iz9Bp+MH9BzrpHiQNz95PfVlgnXydSrHZvQH5hlxprsqQZ+xslgAh9ZGOaAKSDKr7vbaEDYUWeAAUUdbNIgX9uQm+U2CnlT054GvAhmq6cooHQHcPVaZWX0E7ZoCckshD6QZLpxh8rIBI5sv46zBMaXWjWCSxjVFX+3fQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d34dec7-783e-4ba4-bff7-08dd1824adef X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:39:57.3682 (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: NKTP4MwzTpEmOxEvdjGt17BUYbtmpYuuOdXJE9cTe943FmbWGqweNz+Xu4boLGumU9acB8Q/5eAWmTFg/yHGLDUpzRNPlamHVaIjY+AKZm6Qm4JYxDC6eElxMOkfHIB+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: YR2RAZ6V7JMKNXTEUTECLWZJENSDNIWK X-Message-ID-Hash: YR2RAZ6V7JMKNXTEUTECLWZJENSDNIWK 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/cs42l73.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 21ba796a5cd93..23d5dc912e279 100644 --- a/sound/soc/codecs/cs42l73.c +++ b/sound/soc/codecs/cs42l73.c @@ -1128,15 +1128,6 @@ static int cs42l73_set_bias_level(struct snd_soc_component *component, return 0; } -static int cs42l73_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - int id = dai->id; - - return snd_soc_component_update_bits(component, CS42L73_SPC(id), CS42L73_SP_3ST, - tristate << 7); -} - static const struct snd_pcm_hw_constraint_list constraints_12_24 = { .count = ARRAY_SIZE(cs42l73_asrc_rates), .list = cs42l73_asrc_rates, @@ -1160,7 +1151,6 @@ static const struct snd_soc_dai_ops cs42l73_ops = { .hw_params = cs42l73_pcm_hw_params, .set_fmt = cs42l73_set_dai_fmt, .set_sysclk = cs42l73_set_sysclk, - .set_tristate = cs42l73_set_tristate, }; static struct snd_soc_dai_driver cs42l73_dai[] = { From patchwork Mon Dec 9 07:40:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848466 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 E4A7EE77173 for ; Mon, 9 Dec 2024 07:42:20 +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 078FE851; Mon, 9 Dec 2024 08:42:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 078FE851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730139; bh=/F8kZfV6P3Eq5FGeVR3K/rQvxHvWen9EL15AdNcpIhw=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=PR08Qfeb3uGmkyhGhIFdZr3vcZbjk7exi05sIqXqhQzQUwfwbxy/O2EsQuI/Xg6mh y4vvphm9M/i4D7rccjQ8X8mSrbS+mcaR2u8+kH1o/Xe9OJvJzv1iXsn90ffKShWJhq tUjRCpL80TGY+aQ3/0p6tiZj7mnVp6KhowoYoy8E= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B95E4F80692; Mon, 9 Dec 2024 08:40:50 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B8A16F80692; Mon, 9 Dec 2024 08:40:49 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2167BF805D2; Mon, 9 Dec 2024 08:40:20 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010065.outbound.protection.outlook.com [52.101.229.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 93A69F800E9 for ; Mon, 9 Dec 2024 08:40:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 93A69F800E9 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=USSAyRyu ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=F+Xs8/v+IJ6afNKqxZIiQHra5hMASRsRbyGNbjQwcDwHuzpVyDTuRpDEYg9f5JY/2YOWTxLLRtOLP5pbeEZkZVrXiK+jXQFBRiyoicFCp3r5+2ICeKir0ZCG+MvKTa57NT0m+QNIgKcl6dW5sJ5ovSY6bk86DmXQivgeUmW90KSvkwuFwwE0ME1Z8HjIfhz2UKXgK8TeAiaxMWNbe5Mb1iW6CnV0g9REpLBM9OAAhv9stHKwXetjjsPuHqzky6eQ08sOhw3+7N8sSqqC6/alfCrRg4WUqSe8DQy1UIhBjst6Deox3/dbLcEuX3ZRdOmkL8yGwGf24LaWwgUT0peo6g== 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=bRPu2+d3a7o2mGr4jWLLEl6mfLakbMRBH1ShfSkD5P4=; b=BU8fIqsfg7AhqP9VSaszJ4rNBRVBOdkf3pvhIwlQv3sqbvv7kWR4XaAMDzhFD7CL5CM1fRrDeGHBEY2S2YCwYBFn+d+7ERACWP1DSlz1gKA3XwVgC5x+q+eLJDyIn4qUP99caZT41vF7Lxjr93ZGnokDCMbZDi8mxj8b05WTMtcVpCd4st/fE224gZPbX3b8egFPY+aZBsl5Gnf/Jxv3e4j6/891gTCLWZeoGuaZZbDGBlxwcmUsG+NDXNN/XpG8WBIMn2nVg12dp01+HhpwJ1yT3zVq4O6Ahzu5Pod9lNNtaBqklsyWIbwkcJGlkkGVKP8lY2kVLlApvOSHLIMkLw== 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=bRPu2+d3a7o2mGr4jWLLEl6mfLakbMRBH1ShfSkD5P4=; b=USSAyRyuQbo7NXMWlvwy6DT1gKzWT1kKfF5kisfUVeS0Lk/EZvLXkNAs/Q0teCvT2418HgeJlQgehPci1/uuLWazxvUu/7Z5Gorpjl2ifDEsae9xz5l0A3egXjVNMk9gb/lZPS0cncgzXm01tUq3Hrrct3uW6hWJhuLO3Vml+E0= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:40:11 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:40:11 +0000 Message-ID: <87ldwpmhid.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 08/17] ASoC: codecs: wm8994: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:11 +0000 X-ClientProxiedBy: TYCP286CA0289.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c8::14) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: cbcbefb6-66e8-4c76-f1ca-08dd1824b66c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: NNREpg7uZeIDmofHRi+dwCsG93d2E46ie2QWf0z/NBTw7hoYMqfd8pTosD5CM7eitssiYERdoqlay+vU2SF6AMy/NsLfJHr9UyRDH5zmrRU9rKLqvf4zb3w+IaeppoPqD0GQsi7EK+xylMI1CPSVYba+iLdN/R0Mql4Alwgq4c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eGJ3NwAW4IJInlrN12bKzEOHEcgqy1SnHn8YF5ZuahjX+0RL5D3pyzWt0VNZsSC2uMFnMP8b8vNDG7rfSFuMpE8MMIUGqS8e+hf6xCCRwCyFXcNnJktLoYY/Qdd6zWYKzUx9CahH9KP+TBLPr8midczAvvPubRcxJvS5Dd70FPNu3SuDxknwUtjsmOUM52XEHYJKQsC4IAAGsv1BBK8oJcH1IOCAS0u6apKF9MhA 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xY+9gWfL7d1kWomIp2a42399T65SKqTkmdiHwCZm1Txj0ddDW4FrGmAW0TJ6dw62eW5eWehDv+SCw+7kxmMQlPxPRv6CAyBK1dKUvauuxjdH8E7MlRI+Ccdm8kp8/3qxKxmuhKShnfsCT1X4z8lFMsL2635L2lmUzFtJKN5foxkM1OsQvYTVxFblnXlcs/qiY27/Ix9J93IfhnF4WAdbICQJgOlqg2J3lEB35gE+rmcJ3PpRAH9o4daIpZ/FegkNhq6PCFgTMC4gZ25jFaxgWt8Kn2gURg0tM2iV3zwsV6rV/IouYqHlT5BLQbu9KRC8Q9RD6Blv18ZgyQprUrI3LnVPAQN0C5SS5TsysPRUhgMZY6pT5QKG4KRo63yreq+BZazHJg99CbCTBretzom7r3AiNxbSOaVevu3beX4LdIMFFMLsttxs/TLz3pLXYqBSsByVfdjgJnY0z/5Hfp8M+YR3zPTpF2AB5VU7JFplGIP9ETlhfkRyOatp2gynL9C+P/roHkM58g0tX5QPcGJtzQt6uqpKPhiHu6Ufw7C1JbMflEEUGggcXeSMlb5qasRjlDh2BgDQ+9nuS7YvNT5+tH0qczvCWqfSGuF7Bxio4jdgqcHDx6Sf3af8Imc8TxaLGlWJo/sqkXzaBEEE+n7JVROYl2elLhi3ENsm0bb1SRp8+S36m6DF9SeyXaLNR+d3EhXcozcN6V4lc0iEIpDPM8TtQX8I2fvnP7lPHrK+6uXd2lPgQ0H1zUJTT/TSwjAlllMWm1FfEb/0ANqgYEca2uhUwLBMx8QMj+wevYZS8N+apnjaqkZXxT1uFvkxsNAD/QMYqIf2RLYWtqkBIgcuKbfdU9BgDs7lM4K66SShUUjvfWxoNCkD6rRc2iSHQQCQ6y3AAwQ03JNLXTczQEP4DcLzNaMar6f2COe/uMXx6SL9ET+5HaffVnTHfhSFvagqdWbPkZrGw2UKUOG2zfSAn6UChoAAttipwUYaJxJH3Eq8Rmu68US21cRZUs7h6va2tja3WtgOBdurPFv0QIrMFMuXJk3FEet14zoW787TFrv5toQTu56cU5z5I6CVGhhF7EttsT4JMRLR9H7epne4bEibAG67LnLCR4DFo3lAH0Lb3U8pGctK5M12Dp9hWD65/UegMjh2nqMRyYutuPG1M+Sa0+zkcba0k1LSbu6HPCAdBvyonih2zrMH8Ba+gxErwYtNPTRYOQLcG1leHeuBZOik1i0XZ7Ns3d/GHB+ixg9Z4FZCmUoZaxsJwOQq7bDceD+kJK7UGrLSAsG44j/iVDUa6Hsz0BYO6t7YDcIebweV4yNKrWkLZywSRVDIvewZW30oNw1oFkumynHC0DlTzdqLpINRScGVK+EsA8tsMDf76gA8svMXArVGKjmU01EaoUiggNJoW9+nApr4C+exDZWyL/Cix2Cqy21z+dF4WZGa7QxB0BJEuLx1vgot03VJKrIuMMcJjI95y8ZIQMl9OJzsqm89OAuH8d99whq/UZU8befczcuRQjBkv/KWJyMPnTFTjzmTnB/gvQV8RFk9Br2P5R9PUlt+OV1U32VJGknhlvSzhtGSRn7KccqHk5I+o+a5fSzprPpjNxTvYvHENODs4iNc5AaogxIxnLwoISw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbcbefb6-66e8-4c76-f1ca-08dd1824b66c X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:40:11.6567 (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: Wj9MaIowOvtdKUv/kt39MtjZORozq9V3KqZ7NgS9hVIuLUMjsperUGBEPQ0EV4QvyykrNhaD2TfmIUq9v3Kr+8HTcmdRnzdH3Yv1rPI6UkIMVAxB2wHpn/aMBIRGk+QJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: WAFZHWVSSMZWOPXMKX4BSQTRG5VWPWNC X-Message-ID-Hash: WAFZHWVSSMZWOPXMKX4BSQTRG5VWPWNC 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/wm8994.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index a4abe6e53bfc5..20a3cad66fc8d 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -3158,32 +3158,6 @@ static int wm8994_aif_mute(struct snd_soc_dai *codec_dai, int mute, return 0; } -static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate) -{ - struct snd_soc_component *component = codec_dai->component; - int reg, val, mask; - - switch (codec_dai->id) { - case 1: - reg = WM8994_AIF1_MASTER_SLAVE; - mask = WM8994_AIF1_TRI; - break; - case 2: - reg = WM8994_AIF2_MASTER_SLAVE; - mask = WM8994_AIF2_TRI; - break; - default: - return -EINVAL; - } - - if (tristate) - val = mask; - else - val = 0; - - return snd_soc_component_update_bits(component, reg, mask, val); -} - static int wm8994_aif2_probe(struct snd_soc_dai *dai) { struct snd_soc_component *component = dai->component; @@ -3210,7 +3184,6 @@ static const struct snd_soc_dai_ops wm8994_aif1_dai_ops = { .hw_params = wm8994_hw_params, .mute_stream = wm8994_aif_mute, .set_pll = wm8994_set_fll, - .set_tristate = wm8994_set_tristate, .no_capture_mute = 1, }; @@ -3221,7 +3194,6 @@ static const struct snd_soc_dai_ops wm8994_aif2_dai_ops = { .hw_params = wm8994_hw_params, .mute_stream = wm8994_aif_mute, .set_pll = wm8994_set_fll, - .set_tristate = wm8994_set_tristate, .no_capture_mute = 1, }; From patchwork Mon Dec 9 07:40: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: 848465 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 E4165E7717D for ; Mon, 9 Dec 2024 07:42:52 +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 019FFE76; Mon, 9 Dec 2024 08:42:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 019FFE76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730171; bh=rnurwG50QVzLfophTHyhe85MdX87qEkkmeaUmJb8iTc=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=nhV22dKWG62nudxUiZ/msN/93QBb/vzZpj1UOQmW3H5t53hvFzpZqhwQ0GFXtWNPK myui9XKo/Cjq/tNFszrPVBPsJHfQydeXJzQh8LJIbBzqW/qfyvRIttn2ThD/DUmq45 qJ2NvQujpV/d2unU28rLM3j/pn2DGUuZeSul6rHg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0768EF806A4; Mon, 9 Dec 2024 08:41:03 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CA763F806B0; Mon, 9 Dec 2024 08:41:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 77FC5F8062D; Mon, 9 Dec 2024 08:40:31 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010002.outbound.protection.outlook.com [52.101.229.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 52E65F80607 for ; Mon, 9 Dec 2024 08:40:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 52E65F80607 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=Qqb0Itfm ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wU034WsbrqU2zfNl+vvvPmfrCAmolP6PJwYk7/XF8dkBChfODMcWPHO+kUnhjxfevoTtjdI2Nmyoo1ADqL0SWFr668S55QCucrqh5GpB2a0q0qFbKdpmdmJG5fRODswuNK9UW+CeNwmazQy0Y1DMThBoGn/RFKEVhqFgALI1GakeYK2MC+n+lQuG2acPptzR049TIReyy3JUSG66ffu6zmSsPr4Iu52xli0jSrzcJlCSdvFdPx+PJ5JiIWq848s6acyK9NDSZosXvmoghpxXgXmsT51QTLK1bZrQRQEQXgVF3CmdBaWCcws0necCCdv3iFvhpQR2+3wqkIwVvxt+Jg== 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=/FgPx9fw22gg81NHZS0RvaK0fCX/83EEnMV59YKBVWA=; b=WYvfF5qhRR2b70d/16JoY3KDuykcwF7BBI74HvxJJhKax4wrAc64hZtzbjEl9zuwO1CcrYolETxp7uqqOfGXkRNYrsCEWlIzBbTDCfr4PmjOoZwkHUY3yw2FC75DeD0KIxgoT4kYltZgy7NvxNacKgBhS2I9uxJ1YMwAX+vySwxJyxWohm3p5Hk0mCkkxBpsNLICjdqL+We0L6PuYQOfbIypf3BptxOKCvcaEemt1XR/CLQ9jSiNmQYlEGKGm6aCuwpJF/SMS3ZBEBxDyQBwFEKAr5XCU+zxBMAUj2bHEbgHf0T485xfO0MJojhah915safwJ2QVGCY1s0Eyzh3WeA== 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=/FgPx9fw22gg81NHZS0RvaK0fCX/83EEnMV59YKBVWA=; b=Qqb0ItfmbKYbQN/mw0D3QKlJudH4gqeENVcyZHdWwpLV/u7S2l2ZB2jdCtrg7jeoBJ0UMI7ELPunMeF0X/yIGvoeUnfnBl7/KU3+vf61UsV4/UXU53tifNq/ij131ajA8drfQ8c/lqR+2t6h6ZUYjBbkeisxPUcy3jBNfVakcgU= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:40:20 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:40:20 +0000 Message-ID: <87ikrtmhi3.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 10/17] ASoC: codecs: wm9713: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:20 +0000 X-ClientProxiedBy: TYCP286CA0002.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:26c::6) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: dc98da58-6ba5-48cf-3699-08dd1824bbcd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: pajtoX3syad289M0JHqi0zDRdEdSuSCWrum5awR+oxX6+iaCQi+/T32+aljrYXmaZZIQwiwyh8p9w01W+97QXmUF4Hzag7nIOXOxZO0fZGqH/ETABqAUIZx8cBStqfvb3nxiFHGxDG2YfPBW3/Cf35q+twccem06CxkQQRQ1/4IO/ENpmK6KXeM0otSUXjZxRTWpyD6/W0O8eir+Gm0T5eHQtZJPwP5ASLNhkw6jVybBZUUwHKEy2hMeLvjx1LqH/GiEHb0FQjWugeuVE4BTiCQ9rtRZsDjVRzOXV1yc7WbqqyOYr/t9YzXmVflniItcMM0x1CsfQE9zkkmp5g1PbWtq65iYXrKPPghbvV9/Y2eKYI1id98MQHIOwuX8ejLD+d7PPHKY0HRK1+3Fwco42LxLAVe+huphfE+x94sq3nrQCUG08b/GTy8XpEZSP0NEKzFW75B7eflOEUfGnvwd+Po//lfiuaanVWJijJFwhTEdnxaTtA3oGMA/omObwk2aDM8swTKSMfb5VhgwUZ3ELBQtKH3Pp5YpaGiqe2sLqTiJhrEJb/ieJHb4qd7jqtmXFdZj13zWkA3X/Us7tvDpx5S+atVh9PodHV0UfDofmAZA7dsN3LgHTk9HOBEixv455tuQ/E4OAaJZ4wvfV62+kYw68K16DB6rGa85hYwPqPjfdvXyyHNJRS3N0BrocPplb73U+ohqTy7oNMdFbiTzW5InIwcinzCPiOoeHztdI9ZI6RPV9l1A0cKqV74bd/svUqx6ZI3lR1Cj0A2aVYrLuep1KkItpSYa3T2q76HiaAioHpqTmZ/av8hnzXLyRoYCaXDZBXVC8la9rEk8qx63KJjESuyP29c2OQ3jqreZFj9J6zyWOqih9NDVQT1H7jutFd7OAKANz/z6dPJMjKCYX7gUQnfiBZX8WbLyOyIKSFWCMg8GH7BzM9i3Qb+Jyrg1duFwFgd1X16MhykTZU2nTabWWaJbYi9eMqTaPcqiLyZ9A+v2XxWEk03oG39ogF60zgVcf4uXVsmgNZ4Vb51PM3rA8Bf+2gtU8m6/w7XH/Jv1yy/wd0VPW82HPDmpYtnGbes36QGydaI3+fk2jm/m5v3Hs7fsy43/8eIgPlEG64jum4Du0pp0xAdsuP+ZcntqLI9yvHLv4vvVuRNzb7BcSUVarJAYgV1t59w7YuaKPCUVU9ON1P8PsdTLsyVhG/PyOxLdOtNJmppbFZf85AcpMrnv+/Xj4neu4BjoD5bsflmpfTyDfsFFKHjsApZ0zu+OYCwDOaweXR5ivReUfe44lzajJnuuWXMVbYPQv4TmtfQzw3fk7D0R/Hbq0PKrW8wrP7jpZK8vKGsZdqk+/+OszRT5t9M4vHs33xN/SyJKgti3G1shQyzARyzTYNfBBbyFQXkYXWeqg3uEsPqmcTXMerLXc9VvAuyzKlueFIMF4wS5DtwlI5og+ChkIdQhBVtB 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GqEdtbIvv/AoEfRkX5tbnic9oAISaH4bnsZ9cj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w7loiqoqAkk2Lriw/gzXCOrNKr48LivOPWl7N3KqZKLztdMrFqbpokz50OBOjKOsSq+qFyinfUC+pmku8Kg2vLB/iWvtQrmHe/6ZcJMJslCAmQc4pGI21L7n+IyneRXALZjLzk5l1DnLfb8r32pcoh/bBZY6u1ttTVZXJTsrzy1Py44itIlf7S+fMVRQNXsH7RhaQQfBDqNf/oYktx9NBpMotIecLIO+U5Jl2yzhUZgMH6ZBI4SppSI9PH4veiikrL2tjxnkrVVuXzqvLmJh/JNqoYxc8aGMb1Qp7pCMdO6jfH1XBPrrFH5V15lhG2C5h5tw0E5z+nw3pwIeUaZYak/JLKg97HIJZbBzR3RBG6Gdc15hRoviX5TRzSPLX+qAgbZYH6wp+SC2XlAaJ9x0u7h21L1aS2YokwMQGT3NE1Rd6apO5PQSiZ/FVeKA1yMXL/KNVeAzGh6DyZa3wqau8MuHnzqJ+7CWE7VjCGUjB4cKojDBhyvpMiMNO9+hxulHC9YaAU/9SNoT0iWY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc98da58-6ba5-48cf-3699-08dd1824bbcd X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:40:20.6351 (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: jFNaio5PTK9CZGgnbDOXmWFl0XXIcmmL7QfcRAqv9NKsa69a3cJ+egUxc3m94jlNjfhetnqgHVRJNTKoGK36XYYOhqojH31kBP7FQzGFvXygb1Yx/9qHO7Qz879gr7bh X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: WS3BMG26IPZPE2OIDOW7YZHZRH4QSSTI X-Message-ID-Hash: WS3BMG26IPZPE2OIDOW7YZHZRH4QSSTI 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/wm9713.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index 64b69316e4c70..51bdad7129d56 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c @@ -879,22 +879,6 @@ static int wm9713_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, return wm9713_set_pll(component, pll_id, freq_in, freq_out); } -/* - * Tristate the PCM DAI lines, tristate can be disabled by calling - * wm9713_set_dai_fmt() - */ -static int wm9713_set_dai_tristate(struct snd_soc_dai *codec_dai, - int tristate) -{ - struct snd_soc_component *component = codec_dai->component; - - if (tristate) - snd_soc_component_update_bits(component, AC97_CENTER_LFE_MASTER, - 0x6000, 0x0000); - - return 0; -} - /* * Configure WM9713 clock dividers. * Voice DAC needs 256 FS @@ -1089,7 +1073,6 @@ static const struct snd_soc_dai_ops wm9713_dai_ops_voice = { .set_clkdiv = wm9713_set_dai_clkdiv, .set_pll = wm9713_set_dai_pll, .set_fmt = wm9713_set_dai_fmt, - .set_tristate = wm9713_set_dai_tristate, }; static struct snd_soc_dai_driver wm9713_dai[] = { From patchwork Mon Dec 9 07:40:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848464 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 6C76EE7717D for ; Mon, 9 Dec 2024 07:43:28 +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 F0BF61665; Mon, 9 Dec 2024 08:43:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F0BF61665 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730206; bh=3VSL5LZqOSP17aVl/woDFDsIDZMHGL3bZB0FwU0A7qM=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=Qi3oDDm2gCbiI5NBCvnVx6WGED71EBod78a1g9ev6RYmPPPcscEpVdnzT48z9tvP9 tUIL7YBcQg2d8euzJ0KftIzGhqNs8AoQZqHHkNHV8SAYchaPQ/smoKu7rn6pOsJLh2 8k/pno64IJ/IDc3rYz1SoWvcFIencw5rc6XExHOw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 49464F8060C; Mon, 9 Dec 2024 08:41:18 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B65C6F806D9; Mon, 9 Dec 2024 08:41:17 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C17D4F8063D; Mon, 9 Dec 2024 08:40:40 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010049.outbound.protection.outlook.com [52.101.229.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7A5F5F80624 for ; Mon, 9 Dec 2024 08:40:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7A5F5F80624 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=m7wF2+DD ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nhlbLERguAdZb4ijYSxzES7n4JvydxQ25YFKMwIM40ivPEFTEM/gDrhGEgkX3tRMvsX3hBZn5IS1z1Rd+R15YWFH9Ujx1EJ2G+2DZUfaFeuvFKjoAOLtzrUpiBT5Z9dVCCKUYfvJQKcwj0kDPZtJweccghd9YdHxSYDdBFKOkid9pBUsd4IS9rjn1uiKqs8An2usucBdLwa+hFxvVlGDkAbvhQHv9dFa+4LrQlW95UM9zhyPerBxzw8h+eVCWiAxv0U0c9+NNoVhBj7wjHUZxc5D+/MdzouBfpLCOZQTZX5KOPNep8EkdYHnUzMCR3TrofF9qkiLq5vtb9+0taU6bA== 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=i1v3YIawXfoT/0g9OYwreHf5nPqkslv8vQL1QrNXrjI=; b=DU63nfcWEdAmRw9uME3pcBFsp5BZwf6tCN8NVNa1zX2ejyWeduRTJtBcBXS2zuk5hteqso4szveXYg8Q60/wyQJq9c982gegG80l1ivuDX06qOQV41AT+v1EWOoX+IKpbLksMxG/UQJO7qVDtZshnu/ZBTi6xO6y15YvcFtlfchDpuLCoYezG9RsaX4tMgQjl+/hjSid73zkZbPq67x0NjpWVroj0X/8kbOdYXOLetWg2zASDKcvvHxFBrEgUvunnqSb5KeYGPoZlTJ8Xxdy5164SfezO8XybYrFo8hRQ9HhqIZUDd1eZazTKDvppJVn+O868b/q1YJfqJvoYnFGbw== 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=i1v3YIawXfoT/0g9OYwreHf5nPqkslv8vQL1QrNXrjI=; b=m7wF2+DDD0Hy6eDYstMHKPWW/fwrqA+UOQOlWaTY5rVB5Usmrqs9yBCtkXU9aBYwPfUxT9RSDeCJWV4EM5Tp563rVmkPP/Qxy6CiBsoyK/bK/dQUqrDW1jtXjE/tkXWuYmefnPSzkM+3uFmgbNCBInPFF+S8sQksw+QBl8ndXD8= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:40:30 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:40:30 +0000 Message-ID: <87frmxmhhu.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 12/17] ASoC: codecs: adau1977: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:29 +0000 X-ClientProxiedBy: TYCPR01CA0185.jpnprd01.prod.outlook.com (2603:1096:400:2b0::11) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 9cb49b0d-516f-4edf-35c9-08dd1824c162 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: XtGM05cEa+ibX0W0R6ImHXHdUtmzi4ZLIFhXltOyrA1pZ3iRcJJPiER87z/l8buJAxuruFkh5fYLjyd33g+oLQOkW2ucXRYkFc0DLzlZWPKQTRoWCythK0FkPWf2GjDa1FX4pI2kAIMN+u0G3nSJyZBwGpRtQRU1iaTDbEJklMlw+NU2CuK6v32GrCoamglJuCdMTyB3R4q9VbeAZ+cx/sYIUnRn/iDaY1AZbOD2xrMQxmwJl+j12ws4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I5VnaMyWX4CQ69EQ5ijVRcB6EpqUJ1z6c8LKG++7Kxl8YEBbNMKsuaT3wbYwx2Vlit6sXHugh23ECQ5DMoQ9vxS1l6RToOMRzi2fZWxIEsLlsPUjqoVIW289s5LDHYIGN/rbCJxYwpco0HVG 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)(52116014)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fB/6yFnjmMK96A6faPiOImFJEiP3aNj0dLD+JQE1S1PEarpMIBUP83HIvU7Nm2Fg7Y6+iQ1bMywQMu9MMdRDgPxaGXslIxhPfJotD5Qoc1gSDc/OPdnes1d5WTXz4p00JgDLnsNczD9gN/lZnQEyfUU+HUvAi8kIJ5f2AAuiPl/kSZqfD/ImIrJxRldhGwQWdjSFNLeKan4v9UqKDkGuOXyzwiyXRKNtW/wtzV1yB82W3Owl8ZeBZsJoJJZ6VobThS43stbX2MPXxrvNh8MfY25lb9+8fLQvkwhW912oYOEky5saeWOYXqyHEzHMAzGqx7TRh6X/EgyKoWSdIETgbHDUToOIkAXu1l2oV+es4Wcda46u6iHSPKiSjnYRNiTy6AnkU8SlDMOpEtOrgCSdP+bpRo3POqLs5GU+Erxyx2qAu3z+Nf8YOdiU47uITWbPEHrX/zbHDwg0BaYSqqrbf7tv7MGQ3rMs9tMJ74ICdz1MypNHzWXqRqwhnNWca9J0lvPPmFpdu8c2ucBbh4r/Ygid4CodEcDOo7XtXLgLvNN5qpzUjvJe87RdOTaop3ZVoo/aSsdGrPYLX0YtcQO6S3nZ4fXfKao4t/q4RUe50gDks84ohvyIBD1bwVIVaJZd30x2w7pIOGMyp9HBFeR/GDPCu3bYRwHyWyh9Brh2GIVPJYjnXpGMOGz1++m0wugSy783y/MY2+jIz7NgcJsW350s2rJFu3eNKOCqo3vR9KS8aHDfoLqMaulWbG2pFnErcQKMJ5xlfXi7Ta+BsTaQ7lWd9yTHWT2f9Pa/6Rx0uMSeXMITZSFGjjBG1YnogY2Y9cgwi+WjqJFTSQkPdKeVI65y/z6EiEE3XpWhVI+BicDf3fuhCa9LoYdLJZ1Y8/YJF158t7AgDA63Da8qTs3ua50faBpJLhkpx3h3nGncunOVIcW9lduHUmZzmPoNJ4hn35jVmpqTsDCaNoX6Kv/1afwwDBsW6jBM6Gq8W8GWegZnkEUTMhBndOLUJVhrpWRGlR/TnA9i/KswZDfnY4iTbIc+PEu48WN74WpxMZnmo7tMZpmD+72Q259vf2GUb4Lqzq0PB3Yab81mINkIGLR+YP/nZThlgFVTZFMkciMdo4TcDdn/ciT1K+EIE50pJmi4ko46XOHy1R1BJxOAFTVuo35YPsF0Q6kjcgonQcTZHL55W4jLoj65ShcmpUGblr20HoYHmwhEvyyfj5O77p1aaKlPAgQ9EPxlITsbcVY19Nn5ltqMbvd2PjnsOnisHYA3sTsiejcRpOz4mJsGVzBBpF4rvPP8Aii4TnycJv+NWlgi5dSe0kdVy0wC31m0kGjHo4poMJTYhqy78qevvsUsFe+st7ISljCpw2DjdPGi9udPGVK0FAwucbETCTEo+fQi9xWgLbTqWKfNDP+rBuXR4cd9a+2G531LJzG4MHTqIdbwVYhIXFn27Ig7lnVhuGPFed4jjDV0mpohq7aprBtwk/SaQVrVO7fjJPfqA8DxwYSt4vewteQ5pW/+zVglLa3ao8j0x8O5u0XSxbAtjF50S9NIhE4l2wlZ09v81PtH7W+Uiu1DV6l6vnn/whK431DwQYX0XVw3ob0tkuTI3X1XJe+mqtoyZ0FDKyKEW/TQjsQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9cb49b0d-516f-4edf-35c9-08dd1824c162 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:40:29.9859 (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: fSR5n6UUOIF9p76wfjMRTrf/i7Ebdmd2OMfD2FyeU3Uoz1Orz8ukl61njx98RWlv+F8jBFEAcO87MyeFMfOHw8dTaIO8c+qCZAIXiSjaKxtl5lVLE356WYbTmT+gQOXf X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: BBVCKNVKR553KRZNOVYGJS4DTU3Y7RLQ X-Message-ID-Hash: BBVCKNVKR553KRZNOVYGJS4DTU3Y7RLQ 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/adau1977.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sound/soc/codecs/adau1977.c b/sound/soc/codecs/adau1977.c index ae59efb38f265..9e57fdc0f7ec6 100644 --- a/sound/soc/codecs/adau1977.c +++ b/sound/soc/codecs/adau1977.c @@ -726,27 +726,12 @@ static int adau1977_startup(struct snd_pcm_substream *substream, return 0; } -static int adau1977_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); - unsigned int val; - - if (tristate) - val = ADAU1977_SAI_OVERTEMP_DRV_HIZ; - else - val = 0; - - return regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_OVERTEMP, - ADAU1977_SAI_OVERTEMP_DRV_HIZ, val); -} - static const struct snd_soc_dai_ops adau1977_dai_ops = { .startup = adau1977_startup, .hw_params = adau1977_hw_params, .mute_stream = adau1977_mute, .set_fmt = adau1977_set_dai_fmt, .set_tdm_slot = adau1977_set_tdm_slot, - .set_tristate = adau1977_set_tristate, }; static struct snd_soc_dai_driver adau1977_dai = { From patchwork Mon Dec 9 07:40: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: 848463 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 1D16FE7717D for ; Mon, 9 Dec 2024 07:43:58 +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 79A3DA4B; Mon, 9 Dec 2024 08:43:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 79A3DA4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730236; bh=6cAy4mm3Te6abSUmRbofPvlwi+KvdtZROOkl9m99gIE=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=E6qgWsQmjZ0UfKc10XCiBzXoNrqahQbulSLdKWAEpUTzta7Vt0tlxi7UsNg5UXhxT Eisj+4qxYYh1nom/8+ZygO393gni0wIIMd1udJxdMkalFrwe6+vUwy0LhTzW6CTNoy NAjZxzV7UrEPi3Gx622Z3dEEO9/A8WD2qW6epH0g= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 59FB8F80714; Mon, 9 Dec 2024 08:41:28 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E3D65F80733; Mon, 9 Dec 2024 08:41:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F984F8060F; Mon, 9 Dec 2024 08:41:09 +0100 (CET) Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011066.outbound.protection.outlook.com [52.101.125.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 092F3F806C3 for ; Mon, 9 Dec 2024 08:41:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 092F3F806C3 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=XY4Hl4/x ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tTGuUuoYxz0yn7c3Cw/J94hRFk+uBdhaM0zK6lye0vuzYk9DCPKKdcZzCKbspo6lo5CX+pzQSgDsR8nJCxWcuTr4PuvR8zSC88UaObObNq5WOPEGbKnuO8CXO7vTsK2XCNRxQyBhwjvLOa3wOJBJf0p0BV2e3xwNymCMJl+PBAVWC/v2gHpOb2HNr5RkUjjm5jvRubD6Myj53Lzv4gBTZmk2H6jFN3bfYMqPsbYmKDuyyrMSExHPwXAlZB1fTW1TvqhSKYL69rNWJ25xzr+Op+7ULSnh5yHYiV5wa+tcX6oLM0aXP4PuSeU7Jo+oxZwFJ5Nw4JL0MHEn2udiUaJi9g== 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=1HyQknMTeb76d4PRMGEOX1kqYJhvW1OMzkTTBONvr1E=; b=CiXXpq4AFOHJBt/D4nIFJ/GkgCn0A5PC3k5M/WDxstGdBZx9fC5tvpwKqxIYQu3KTAMdefx/AWeMder2Y/YmJ6e+Ds0xzfXLwFeTKOLOvTdFvFa2o8yatM+a0Rb2gOKziR+KAp5ETbkdAZpN7WuWI534rSCrSx6npdeGWYRBufrhFZbzF5ghss7ciL0tRUOfwHY11WCTVqB6nCd8o/I0a1S4A63zaFq/9RpXneyEAB+JDlRsxy1XWSXJdCUe3n51etS2b5WipZy5q4k9NdRkjJ5tOEmdYiixpTrQPVXSnO6pe0aTi3hPC3hdemFEiozwKWt9BoOiW5xiM/hqsd4XAw== 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=1HyQknMTeb76d4PRMGEOX1kqYJhvW1OMzkTTBONvr1E=; b=XY4Hl4/xecRPK/28/Z76CHSNfxZrMCmhv0UBsc8PA5+6bjWli5PdY2GwTs6GoLiu6bzDpg3BMocZo+s/n22J5Ie5Lw0FlM+1tRNRwsYWcWm4zb3JJomdJ+ziCa1f2dtuLdIh6YaHGV4weDW3H8iqGn65pHB3dH4YmkvOcE/ynLA= 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 OSYPR01MB5479.jpnprd01.prod.outlook.com (2603:1096:604:87::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:40:39 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:40:38 +0000 Message-ID: <87cyi1mhhl.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 14/17] ASoC: codecs: madera: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:38 +0000 X-ClientProxiedBy: TYCP286CA0039.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29d::13) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSYPR01MB5479:EE_ X-MS-Office365-Filtering-Correlation-Id: 65501156-0d6b-4480-67b7-08dd1824c68d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|7416014|52116014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: TcLSyH7JHedUWzlnTEHWARU6P1vpslFSoaum36b+uNRzeFukKcQs12+5kL0/NTaybclAwsk2nNnjRqKiDo65cK75VPyCvCLfeL0zHlVUQAecUO3HkgmBNfefDb2yo+JiWOBWCIiGs6E2jJ2V3hYYSoDqYZz5rZiNfLlddpWVgB5HsCRTWLLsF9M5Lgx1rSG1y3VQDN2JoGw5cV3OUTE6PwMrn3IfAqHGo0srPVDTTNizB284JvkYL1zge6agd/v2xLE4E6E3S8/kDxeWW+LqUtV5CjuhUFrUKLkC46pywFLSIsm0RMDGomqSO4nsUAe28021LKKjfu91vXcaIVHzjINg0v2rtwJWJkICpW2iWgV9IKyd2QNhA1z4KdOD6gp+MnGsb8ORacH4IVJhbeQDV+eoEE6BGD0I4GUngCc/bKfMbMbn6e7mBDG7Jkivu05KdyYi/KfIU6THRvEbOQI49wVMzZ5Pqy9K8VueZdOz2P1cJkC8lH8/BbUObIn1o+KPGANHdXdP0QurFaIuqg8/tbNeY3UO4hu5Xv4Zz9EjDxrVPHDxOwyrzoSyJnzVCNXwtvEPNEmGJeh1bOdvx9n1m953DftB0Nv3k8HZXWKK7qZTOpobebf+XzKJnyxX8FaxV17/d5VhGJwuN/cEgiVY3/82F7klhPwQ/TDZpgouRde6pPE+BGHwOL5YracedZKZ8vvbeGfN5EtbjeA3iwiQJWK6Z7pydnR1aP3pFMRNwHR32R5THE2C0iCjIqIzlD2geIbD1t53OzWlLaKjO1qjr51MYDj9fTUsnEalVi0Jo258Ne/y2oR2e/AbxS11Dzpo6Xdzp7WkSwRdn2xo0ImFirIIeKJwKTToiKRNp/jP6HMVXzzhi9UP/k5fH3vEH4hOXNcaPvAS8zCFafwdYjvrGu5Bjhhltyh1/tWBjZgq60u5LRHjPWPhEy4V5Jj6sAP7DCmtlzpUB8wDvxiBxrGfCdp6I+lUqT89ss/1ktQbrpRNr9wgftivNVlObwbzkTwrBApCuMMd6Itggre9Smw7AaPGNEYXjQTG9SmsA1Y+w/ZMZ7sOYDmHSrt+6wLYSQnwFdhgZp1eVreEVpSNcaixiCAimudH4SbX7uWQxMy6iWqQtqtytULnAZv9RXa5wQWeOD5kw3vbSMRiZdza9ztUA7A9WXoluB3uN2j56KXwPygGvNC7rO7xrIa2olxq0Ne9Yf/u46teBpGFxG7aoaigOgNy4iLCx5V3X72smWNgouGWgrFX6lIvQaYaNfXH/fKPO65WnEoyU/6pch+9DFaHVZRsCFqRMVqW0oCLWErKg/dQ1KyFEWiLSqwfNDytQqJXI9QgbjOghWTnBPl8cdMX8XIlmE39JNyFOkJ2mt97HvLvqFtHAQqxBpZ2yBHAhEYb6J3wDDYMe/tAUOYo4pza/Aaeu/HqOZWNsij2Bn17BK5FSJ6UR3So7JB1hUYbENGG 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)(7416014)(52116014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: G40UKSJXEmt4rAqQJSumXhzhEbgYS4VtjpY+eVaP9myv2VqOaH5LqhTx6swApUYVBBBryMvTSXXHv6wjFfCTJE08hN9o29twBv8losA5aSaLFR7LTN3aIDoydByY5psm+i+1U8qqKXudGe3MV1m0Th9cQDRzkd8Nyy7k2n93pSEuoU7mi7S89cj8Cjwn0NVcIi2EezCluByXd9ElKm5xiqE93wCIxzRRV0Mh7gJpoDE2hyCX9KP6jb2STEmSwTINZvR9eMErd4OUmvM1/sSQSyxh1dACwuM/Uz/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Ns63snJaMKk0yWTVl2aDn5PT1GzVG8Uh19cXMCRC7zKpMTBFpS4C8i5Sn0GvbRmIDzsGW6wufgmZpd9gMDc+icwpjDhtAAN5d3ZHrU4h4VSRh2ezlVtZF4WgMvO2JAV49QB5vRa6w6n42EdYq+fGrUyiR+yOoNo1NrUpkLT39L5PM4msGt/NpZWbxnlNOly3K/wv4MHHXJ/fv3P3R76ljI/Yn60TVtmZqZSk0J2yB7u6dCjfZB4R0ui6dDHYt2orGVTDvMgDiZRCCbw/GCt0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65501156-0d6b-4480-67b7-08dd1824c68d X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:40:38.6587 (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: DjoDx4i4c6yWU+SK9MnTfd3H9Z5I0R+4LjkDDMexXom6Q5dSKFay/tys8GCVcKt9AotwaBzeLNKxWjNq8vmUaI/KcG0NADUGaUyGOnbXPqNdIILPpKPg9lfwP86GZ9Wj X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSYPR01MB5479 Message-ID-Hash: C7WKCAAEYQDQ4YRWZ2XQAO3EJIUX5ED3 X-Message-ID-Hash: C7WKCAAEYQDQ4YRWZ2XQAO3EJIUX5ED3 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/madera.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/sound/soc/codecs/madera.c b/sound/soc/codecs/madera.c index b24d6472ad5fc..92457b4a908bc 100644 --- a/sound/soc/codecs/madera.c +++ b/sound/soc/codecs/madera.c @@ -3285,27 +3285,6 @@ static int madera_dai_set_sysclk(struct snd_soc_dai *dai, return snd_soc_dapm_sync(dapm); } -static int madera_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - int base = dai->driver->base; - unsigned int reg; - int ret; - - if (tristate) - reg = MADERA_AIF1_TRI; - else - reg = 0; - - ret = snd_soc_component_update_bits(component, - base + MADERA_AIF_RATE_CTRL, - MADERA_AIF1_TRI, reg); - if (ret < 0) - return ret; - else - return 0; -} - static void madera_set_channels_to_mask(struct snd_soc_dai *dai, unsigned int base, int channels, unsigned int mask) @@ -3364,7 +3343,6 @@ const struct snd_soc_dai_ops madera_dai_ops = { .set_tdm_slot = &madera_set_tdm_slot, .hw_params = &madera_hw_params, .set_sysclk = &madera_dai_set_sysclk, - .set_tristate = &madera_set_tristate, }; EXPORT_SYMBOL_GPL(madera_dai_ops); From patchwork Mon Dec 9 07:40:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 848462 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 59F6FE77173 for ; Mon, 9 Dec 2024 07:44:34 +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 B2A2914EB; Mon, 9 Dec 2024 08:44:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B2A2914EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730272; bh=LuEWTy/kuY2f34mx0Zfgcikbg9NuqlrBg/ytodLKvt0=; h=To:From:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=NycsmOvNHv5tmOvteiZCtUpobPTHVykylvKetGUb7+kDCDVbXfAAR+YvMwnRVKg6j z6zQR6k4DPZaz/9Jne1W61za75wxXM/0CdbWhrNyDAynDN7fLtiL9nc77AiQ92ptM9 SZNFC/Pc2IFsbJrrFptaWwRDKHX1PmBca+Wvo3aM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A0B09F80659; Mon, 9 Dec 2024 08:41:39 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id DDAC1F8079B; Mon, 9 Dec 2024 08:41:38 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0D663F805AE; Mon, 9 Dec 2024 08:41:16 +0100 (CET) Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011066.outbound.protection.outlook.com [52.101.125.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2C6E7F806AD for ; Mon, 9 Dec 2024 08:41:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2C6E7F806AD 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=asKT+RJh ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DVVOLoNU5a4GMmLVEY8UY3A/aua2Hnjgk1UDBXSa+hkn7RD4O4mBOTEusitHFAJjz+m8wbd8eGo8FvfzP96jhnxRRJrIcRpdoG7JUrVVoD/pYZq6ogCDG9HuZgiFQT0y73paz/bx7mdgYekKRoWTWdgAS30UqCEFxfKk9Z3MjqMN8ziLJLLVTxssVv58z9TN2Vwi1cGuL5hXf52VS7vtuXXrAIjQtB2nppbsBKtvPZ9BoKI0j/qaeIfRK5WBSwRVNog89fMldQKy0DDBeXN4/ALeeIOI5wgu6Sf62KU8M6jbxmKWCo9W8mb4pgEnUaBYaqREAMnojNVOydEtFHgZvA== 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=1j2QscSPkzjwrSQOKqUeUX1vL55tCOBHc5VHpsCJigk=; b=TUah/3kl1yVySv5STFzpvaItXxi5WqfEvJrrCV8mhKHLG+IIjwSOjn4hvZAk+EcjSuBTvHBKKaL6/Dhw8xr8yV9UsIRDFad6uwAxyeiAKRlJmxBDjVZjYOvuU9twrdF+7XR5prQ9tgdAeICMtjY9IXUznFuy/6O8AKBmhNcIqXnb6vuVO3MVhmUAZfIBUAjrEnZtlXOwiz3hD3h5Rtvuq2CVrR1bvm3qv7tOfeF36OEbRjrMw7jmeXqIq6yj9i+GgduymoWzrRBCZL41YtPGC5xlRmFe0vbV0SNXQGgx2dLBtZlGn3G3p44Mlkh+Vs8222EvuzrgxdET0oy47fpwDg== 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=1j2QscSPkzjwrSQOKqUeUX1vL55tCOBHc5VHpsCJigk=; b=asKT+RJh5O4mHE62yDjfjTyltLd5JQTOKVR+2rIaZQrmyETq+klLaBPJsosGf/Mc7qrCw3lxfodzcD+nKENzKqLe9LnNzDvlCg1LyCgg431hqFSrpYk2tVVnmGdO3DYgcWZtBRrAfRnV8QOrFDMNCoLFOcVmgjQrzfqUUJeViV0= 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 OSYPR01MB5479.jpnprd01.prod.outlook.com (2603:1096:604:87::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:40:46 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8230.010; Mon, 9 Dec 2024 07:40:46 +0000 Message-ID: <87a5d5mhhd.wl-kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= , Charles Keepax , Daniel Mack , David Rhodes , Haojian Zhuang , Jaroslav Kysela , Lars-Peter Clausen , Liam Girdwood , Luca Ceresoli , Mark Brown , Peter Ujfalusi , Richard Fitzgerald , Robert Jarzmik , Takashi Iwai , alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com From: Kuninori Morimoto In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 16/17] ASoC: codecs: twl4030: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:46 +0000 X-ClientProxiedBy: TYCP286CA0223.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c5::11) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSYPR01MB5479:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ef4a4aa-f4bc-4c73-2826-08dd1824cb60 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|7416014|52116014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: z3Ee/6aH7/Zm7rZJOt3lO7Q8kDzN/TkkFYtPuAcme8WNNxUFzk+ImlIAGtApsyM7pZVyk8wz6PU5/nkdpIAE78nK2m3226esZgJlaKOQEUwzei7fEtPTyJUR87pjr4KgHQzjYIb7K4J5e9XpulA+H/kfzVrnTW0ZsLDX9j9+zJdY9XsRTyDNa1Y68PCTgisyJ8EpUv06QMlIK08XAF6yxJj1Mm0pvFFI3CCZHTJowKvPMNEH6Obugu53n2rJBOfCzRUYU51BjckweYwMGqGL6ye+xBXnE+D6K47TPdZovx4dgdWH6w3Bn5gakvLTZqpjYvPlQyCOShJUkP39BddBhv82zMM6bZA+V8TFEWsWLPvL3WdscNLP2iI4/vEiGLECZgEH40GJhM4wv11Dfo6IEfmueM5RVaFS9qw20JnMc1XOcLo18Uo+wEpxtx0lkwwQHRtdpbQebFwOeQFisYXiB0w58Is8D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YCPR01MB10914.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(7416014)(52116014)(1800799024)(366016)(38350700014)(921020)(41080700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: juug+wNUuw1ZZFvy/+YN2fTWMHcfvHJPnAZoZ8IsIZ0jQ+EcWPoBCS3WnVUcV8PI7yhm3Y35GWXoUk2aNHQkWUHSY5Q/rSAtJwgrnsSyDXeWoQScNGumEJhVit2zQA5z2SIoKilz9w0cQBE6vrow6hMz13ga0MIB5PZHwOnPbysFaYghRE+7xYMlFv/KvOSyvnNLjGWp4yvQpMpX/OUhtmNtNABkgGoa9YjPh4y17JcLVOZC7pwsAH32mdP6m08bA5ekn2vSKNxOpv9kOLawObKxk1MVvMddXzBH8mhIE3w15KNV8m8CojXyHXGavTS1XQybagNTSIKwXYQY6ntX0aBZnU5lxAL435TP4cjSEgzcgcxv2LbzTV3sNrVISD1OusD+OUC8fy4wC+pqmWSR9S+OTXhK1vS99Z5DsSj6azIc36mZyPYw1o1MmH+mLPuYn/aNYOHZZyg33HS5AfymiWyNdU7SXfWAHanQ6N41Iud1yiGihiHXpYF4BZScHvQQ4JDlQDPAINeldHqXDWwM3iv/omMdGeFoBGN/1QLssUF5GvTJNBuK41tEht2oiLDO+AGY4DZNngFq/E5sXULT4oWvMbrDtrxU0D1zTe4gAoMwf1C+uz9fplWA6hYL8khu7xIlQEb2zQfdkgnjDeK078PZAuspRet3XaLRoueC82EOuaKIAv3vxoVFSUtO7+TGanMIh2PECTjyooLt/JyMEi8vzkFn4ew/zVoBt6rN9vt4Zk0lXRRXIHUbSHYoUDTU6USj5wJESvAQNJBW6P3C5CdzYTXdGrgJdc3jO8kE3LowXCbbSTWnm4lD7S/W/mI76vYcmE6Pd599T70x0fhA8K77Wq6GuTImOGcaTIC7gHK7N1VUdSpIFMzNCi0fzE8hi20DOnn+q2OPTfItl5QStQOnRZZ4wlVtlfxkXue2Iu8hXDiXsK1lsM5GlOdbvIWTgYRsRjpBBDQzOSSNNpInmpt+BPjpLl8mo8Z8WjhC25+JLUPx55hHR0C5Tk3gY7k5vsvdrNohyCoQuu2FEU5J+dMBGxymJygWM0ECbN8apPeelXHL3hJf9VvoMtERYBPVChZIRTAdGp2srgDUbULW9flYKQXMnDq9c3RI6V8pCwfl8o6nhmFrbBoQVs4ZX/9P6J/28Jenr5UGna0a10dbGR14Iu/oA82V1QGQUAx5rFg1cmEvtHccvT1YYA0YevcD++Q+PQ57IZ95/P1DFgso1tJGBFa6Vhn+B0c86j/rR22rM/cG7FyPJcsIhybpQQC4y7knoI4bintWXIsk9h2E6v3914ZyGnhn4+9uN3uT00MAAb9GQ2Niqo8Y+ysaFo5PqA2B6JFHs5fQE5L2R9ieBTGwUVicatPMluH2UTYdr55njWQgKTZWbJ4Ouu3oGygelKHdCB+EMVwCslBnxkJAGu3ozEYJ/qLY59vjaYtf+iZdMysXepOKzUlonBG8F9/KKh41qLuRC0GCbbmBJ+7A5a6lN1tWK/wuU3n2/P93BA7Luy6kNSaGuGVdHCu3WL0b3k8XrFj5i0gzG7eLDTGUoB0ghVNE/p80OSUwmwsb/87X+FpqFe044rr+qgfOFCGkGft16FpFW2QoCJ3h6bY8D1qwdAX25kV1ixLX/qNWvOM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ef4a4aa-f4bc-4c73-2826-08dd1824cb60 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:40:46.7589 (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: UIbWCv1y7m/Oo51guPHenaACvMFQ6l38tPYa6KFOtuUkxkw5NzQs+f829GRVYQ37PIySo3XPTWWW6MmM5D/qp/nEyzTQZUfBzyM3JchAddBvjUr9/lpMt3YIqUubc3Ox X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSYPR01MB5479 Message-ID-Hash: WBFKCEQ7NPPLYDDJIB7OGWXVJHHIUPQR X-Message-ID-Hash: WBFKCEQ7NPPLYDDJIB7OGWXVJHHIUPQR 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: snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/twl4030.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index e3782762139f6..28ab6540d3400 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c @@ -1891,19 +1891,6 @@ static int twl4030_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) return 0; } -static int twl4030_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - u8 reg = twl4030_read(component, TWL4030_REG_AUDIO_IF); - - if (tristate) - reg |= TWL4030_AIF_TRI_EN; - else - reg &= ~TWL4030_AIF_TRI_EN; - - return twl4030_write(component, TWL4030_REG_AUDIO_IF, reg); -} - /* In case of voice mode, the RX1 L(VRX) for downlink and the TX2 L/R * (VTXL, VTXR) for uplink has to be enabled/disabled. */ static void twl4030_voice_enable(struct snd_soc_component *component, int direction, @@ -2085,19 +2072,6 @@ static int twl4030_voice_set_dai_fmt(struct snd_soc_dai *codec_dai, return 0; } -static int twl4030_voice_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - u8 reg = twl4030_read(component, TWL4030_REG_VOICE_IF); - - if (tristate) - reg |= TWL4030_VIF_TRI_EN; - else - reg &= ~TWL4030_VIF_TRI_EN; - - return twl4030_write(component, TWL4030_REG_VOICE_IF, reg); -} - #define TWL4030_RATES (SNDRV_PCM_RATE_8000_48000) #define TWL4030_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) @@ -2107,7 +2081,6 @@ static const struct snd_soc_dai_ops twl4030_dai_hifi_ops = { .hw_params = twl4030_hw_params, .set_sysclk = twl4030_set_dai_sysclk, .set_fmt = twl4030_set_dai_fmt, - .set_tristate = twl4030_set_tristate, }; static const struct snd_soc_dai_ops twl4030_dai_voice_ops = { @@ -2116,7 +2089,6 @@ static const struct snd_soc_dai_ops twl4030_dai_voice_ops = { .hw_params = twl4030_voice_hw_params, .set_sysclk = twl4030_voice_set_dai_sysclk, .set_fmt = twl4030_voice_set_dai_fmt, - .set_tristate = twl4030_voice_set_tristate, }; static struct snd_soc_dai_driver twl4030_dai[] = {