From patchwork Tue Nov 5 06:29:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899007 Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010063.outbound.protection.outlook.com [52.101.228.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BE8B155751 for ; Mon, 9 Dec 2024 07:39:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729972; cv=fail; b=pMzQN+bMn/v8TiUB3YSjTUreEl04aD7a1r6bChRaPW4a2eCau224M58701e+JplKX/qlwEIxtOQKIeJPUuVAr0O6b3G9tUk4pC5FhGVEdRVRe7adVn7fjYPCjQ/CuQykcgUQ1Dkeyk00EoZIk0Zutpz6TrAqQukGdEvQSrLDk3k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729972; c=relaxed/simple; bh=lQfaWPmv2KynawBc4vfde9kx3SYItaFMWAccMLrf/Og=; h=Message-ID:From:To:In-Reply-To:References:Date:Subject: Content-Type:MIME-Version; b=XQiV/sOj7Jpic0tEBAw6pl2IBDpsnQdQ3MG6KaXN8LgHBkueetQevxMnrooAkCai6gB6Q8zMR9R8siuKVYWWL0Pd3Cik5fVJPlQL249y6nvE0BZgTfLh1hb9izdMRJsr55+/uRBzNNmiT9SskKQC+wJxpsxBjH55nHFcn2ag66w= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=gBo5lEQN; arc=fail smtp.client-ip=52.101.228.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="gBo5lEQN" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=b8QzZUyzivLrCS3rLI+PG23ahGtAWeJ2iYM7mlEpmHhOu+oEOZ6B1DsbmJ/HlMM4QH+IZdAXLUQTcx03wIxdh30eEEQrRzLLjDZzNGEaCu3yXuXjhBsO+zk05OHrkyHJM67xIgiZPsEHWqxgPRQiUqIfFxHfj3nFOSxKgF/E/uChZ6K/mDF4J+Q8bfdVLfI1Q5jf1QyVRHrng528n5452tRGszR9YVqgvRMjOdW8uZXKY+JpYAmrhQQd+OTO5+KynKiuzBJD164AQR7potnDJB4bhS4BssKxFIDp2mXdVy9GXBTZw154uOjCRHtfSy9MAsLB2bUgLOusByc1UAfjKw== 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=m//mbcZ/kRq/04ii91GOtrXI6TGwzAjtbftlPq0PV60=; b=Az2FVvy0Hd7TowHK17kw44BwVW/MvFt8nOTaDsHYZazfP7yRrVKQd2O8TPTf3wP9UhV026S8S6DzWy3/E/npwiIBrEDuv48sOJkvx3lSKrrxuhnQTRij9i9e/LB709jRUdxUAYDArfz5GWlsUln8rLZJ4D/voaV9dTy9eMYDUEnckHKFDO/G1VSi8OsMmGSLxzZcH610F+2luZt+QehgSxacglKYdVT6HzwPC6rTqch1WNPBO4I2S65jhHbDT/k3LyJVmjuA0XYtxnj0FGTnwkaX0Esq/Z4eILru/o0aSx3DXGlk5sHZIVA5o+dqwnQh90uKML/qz11kDJqAwUzXdw== 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=m//mbcZ/kRq/04ii91GOtrXI6TGwzAjtbftlPq0PV60=; b=gBo5lEQNNJoUHQ8KIM+/dJ2/OVetMNS42Dfg6sHfB/lPlZ45iSxv15KevOUPvhGQVCq7SNrXRrI8g0M/4tYZ7SmsOAUu5cjCj0+2V93ZKElFj2S7KhmYUxI8rBqMd83E9CsWEqF5LYffLwnf6L3G1HCxyef6n8h3ZEVNXHICM5c= 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:27 +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:27 +0000 Message-ID: <87v7vtmhjk.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> Date: Tue, 5 Nov 2024 15:29:00 +0900 Subject: [PATCH 01/17] ASoC: pxa: remove snd_soc_dai_set_tristate() X-ClientProxiedBy: TYCP286CA0269.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:455::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 474aed0c-14b2-4ded-9bff-08dd18249c32 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: qSKqFllsuikAWvxTyFW/eW5VMsIjHmRvpxGeL1JSfLwbk6totD0sV2IhJBgO+AIWG94zvFdwB7SrKgCNvKMfQRpZ0Xhk3RJMzvdAPz3pCZxSX+UCHTIUB/7uG380xYzb3eQA0i3sGcpWE0ZfyLJAVzG5SAecYImQRg2Y14OkiRwpiaG1i7WjUBZ8cph7DMhJ+AbnADZJ8LU6vBVBP/HYFGklPSSPjsNkmNVSK1VglK5St5AtGjvR3ty9+HQ0tIKG8+INzeh3+aJdVZ+AwF/LhaZid7sMWVMSGuXl5Qoo7gWq2yBcCLZHnpecNm7z8CNkSoHwoHR6+3YTEBZUanbv19OR5wAUGrklzNyuywQKxRt6NPbkFnWcZftQxgv7F9oU6/pRErDFAhNIE0lIlT2dIZFx7dwHk7RHAQi6G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: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: wp531v868xKwukyq5QTqDNCCJgmF2Jg1n+SKZOScQjx1AnUQX7US6NOImYAnLSgUQBMRhtMo0KsU/L6kYWdqednhU482CUFi5Ild2h+a0L6+Xn6wmEtk7Spy1A29bEyNIEKAY6JeWPSIJOKL5UJgo7Sh1nGwoP9kVwx9FeHKCrJJabYq2h8/MU/eeCIqiuosO2RfsKnm1d/bYVkUAYaCBKwqwxIHU7HTIrjrdStHh8MI2h/in6C4YOA3RIS5/29r1w1K9NcuHb8o9a9wnnckU8L6l0XpthFS9KHjA0dZJ02OKQ2XOscfJQU9F/1cTkZDspR6AypkJsdooHo4OdYdUwpCPUOS7QeLoNR5jXNJsoAlqxF346abWsHiOooykhOt7rmL6lbOAJ6kv1t62G+pDZqPAEivTM4txFqQpXUs6uwNS5c79h92cxoWEtyv76tnKHwwfk/FUlO9ewUfRa65CqLFjPAJzwbKjlPk5YR4yCrXMPSz1/nKKzsgqpbWtsnfK5DFz0gDzHPr5aohEQUwbMm1Lnm4sSJfXmdlnpRCJ8fh8MaMFBXNWFXeHWRMMJj9hwGRdgN5pxjOcUb1wKQgA1267WZFx8X6ulXADq3LqH20BCQ5IL8sIOCHWLyFPEnF3PX+kQfAQiFugrWldU8XNNojQugHHxr18erTegsdmr3yNwSWDdo/PqhZh5tg8vt/agmzMes8mCWCw8iecwZ/2tl+8rJ21nZkiko+O+AyBLL8enQd79H8Vkv6RTK+yEd+yDBfJyduzypbWxmkzoGElDokLYTInwgfH0sWWRY7c5k01lZuWiWglEHNg32i6Ee6G0ni4qTGdqJBtcigN3l7EPlKUXGK0rpwmrM90TcE9QweQkGwslNl0eE6CT2JUWWqCabOiefoIBR9Qa3XNxwNtI4nkv+uBydyV0RM7P8t6Xkh396d9S0bxEmelQ4kWz1nwCKwaNqEZld1y4z0+8/e2n2ds6dwoQclET3s8K1drTxft0ZoZhVQ0dFoAItBa4J7pTzg3idTWoif7ldh8PpHKh7lBUMHerJqZ+EfTdnzhq2oz7eBifSJyT/i6mi0JdLvEPkPW3+NBwS8N8YJGpANTDqT+MMS46gCAvRKu47GR4JJ2bpDONMX8te14dcvUCr4JTX5AVugvx74pb+RRgqpHZUPAz4RHhjhi9ITcnVJb/823iSN+Xzdoshw0d0CHHba+8D1YITv/W2eDUYnyVJWLPylhZnlg3MTPflT+jYGKAym3NwGXWAJnHoYVE763ARTijs+oAO/DaH0gdH9zaSZTxNMloNzRlDQ1ZhO38WOGf9kYCPA+6tDiUiVSlOxlXkY+TLwfsiXoPvJJS1ul0G5LytN+nGR3cxBqUyQUn5ZaoOETNHwiamQrIXJG0PqwJ9AqgqDf3diwVzUzm1Dkj4kqpUkq2za7oLz6btI0FjSuPaPPdQrcataowegwzRd5JjCPP0ogvEEpCQboEU6I7sBCA9UUMXnmhL+z3UXswPd87z5aW5HjlULX4FZT1AY/zxj0h8NHOB0foe3R1nEDNg2r2ZS3Jwlxs8PRy1N7r15nZcCXxUTs5VFB2M3w6zf7uC3U+BDlgFfcxw4xHdNyArmHeJdg9BJvKzKQdv5lC8Mqx4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 474aed0c-14b2-4ded-9bff-08dd18249c32 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:27.6338 (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: mxaiIoAPTugfUEY21ETNRTXv32XVVE6myoKrdBZI2bkZGpwtxWngOwWIdGKSYvjQIPreCJcyuxPB1NgDAD9xFhlfGgBY6F7KXrYNWqNfayPXsTwPnEUseQ1G9LqKyMYb X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/pxa/pxa-ssp.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index b8a3cb8b75978..1abacb3994aef 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c @@ -347,26 +347,6 @@ static int pxa_ssp_set_dai_tdm_slot(struct snd_soc_dai *cpu_dai, return 0; } -/* - * Tristate the SSP DAI lines - */ -static int pxa_ssp_set_dai_tristate(struct snd_soc_dai *cpu_dai, - int tristate) -{ - struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); - struct ssp_device *ssp = priv->ssp; - u32 sscr1; - - sscr1 = pxa_ssp_read_reg(ssp, SSCR1); - if (tristate) - sscr1 &= ~SSCR1_TTE; - else - sscr1 |= SSCR1_TTE; - pxa_ssp_write_reg(ssp, SSCR1, sscr1); - - return 0; -} - static int pxa_ssp_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) { @@ -822,7 +802,6 @@ static const struct snd_soc_dai_ops pxa_ssp_dai_ops = { .set_sysclk = pxa_ssp_set_dai_sysclk, .set_fmt = pxa_ssp_set_dai_fmt, .set_tdm_slot = pxa_ssp_set_dai_tdm_slot, - .set_tristate = pxa_ssp_set_dai_tristate, }; static struct snd_soc_dai_driver pxa_ssp_dai = { 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: 13899008 Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011047.outbound.protection.outlook.com [52.101.125.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61E79155751 for ; Mon, 9 Dec 2024 07:39:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.125.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729979; cv=fail; b=OvXp9eb+hwPuDVvRW+AfXnF7/9gUigeeqXywMK1P1vBYiMmKVO28dM05I2YOML1kKDyeDEBmiR7BVY30turwRgPeGr3h6DqgJVIUtXcJ3ncvaYRJV2t9iM7GwnXGVu+lemUvJOoyRpaxkSbE93b28zMLdOTlcdaxc+Aud/J7xZM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729979; c=relaxed/simple; bh=Q8QlKXPR8s75XN+Fh1G+bl+/f0WYaAdBRcq4DtSgYXM=; h=Message-ID:From:To:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=Kv99Xb8ofPjtnia6iB/O46bKsmSs/sipRRzGy9wBsGbGD1B4U6zfpElbZfrP4vY2soILD0+zWjLndRNyhJrjo9UxzgtxFTE3bsfCUH0u0DXlxkwyfmW6NbhJ6OPsUZjBbYYloBlZow4ajqbYA/sjdyO04iDdm7KEpqHgQAC5ON4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=ZvH6RASM; arc=fail smtp.client-ip=52.101.125.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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/UMVhmvU5stUj2mPgELZ7LNq7BeXh0KAgGwQlfMtGzLbWLu5m8paUGsMnZ775ZVDhWgNMU6bQxKmuGPJu7nkvsJhXzcOv+shSle9Es6MQKhI9wPdSHuk0aykmMiCx9I6QimYMwgpzoK/sSHq7mH7E6nDF5TsgjTa6SrW4SFzf+hpywCgbQBjpBmFjjRAgTHmWStEwtePoOjo3nLNPcEfMy7vmYaBHB51DcU2hq1KJJBhdx9/QfE+8407Laib7AGiEZjYxd6QeD0fsWM8mo9j86ykCWSEK0XcNr2zT9sJX17o91NSZIulP/H6S5jQ5wPYtlcHliYd2Bx89h2AZ8u0W/r8JtET/uBDTiGbUBftSdR//KFF0OOJ0TCxIAOuHRDnlhddJQfemkqPVJQi/6Ye9d8JWFk5pw+uvCw9QFIuOstEm7YrRYvpJft/RhOgTHsZz1jXfs7+hD6JRUkc5V02uyExh0Lbw+Rn7EwdtalGdGio3/KOFrVbnKBdqm4c2SYG458vLxy47zYRGFi1EjU3DWdyGCHCwi9UIMTNLSgpJoIM5zqhODpsWJMfVFeH32e/d6zrc52tJ7GDVGnMkjS3mJb+RdzLGtdKx+3qN7xC0X+MOeemxuZHMyTews+KTxID/2NA23hbVXs05WVeWSBezCXsUbdt/afU6v1aSh694jo5BL+W/KKKhrDyHxWQ4q5kLcR29eYGSdscVQxa2Jy8EkFmqqlE7t4O7Th+LgCSqGJtJA4Dfl9yaM4NXqFFBLy7yUFNEWCCIof2jUdVXT5ybVy4RSvvr56fDb5D9bXqDVIUMIX4cL+rv5pD0DYhIQ/DjOT/GeflZLMeNwZ0iCCvtjczXBt3jVeelyLpAO62ZDiB3TcIEuTngVMDjTG8L1CSZQySMu2EXCIG1Kf5sMJQzO1reztwQY73KoQBulEU6kzEIqcEPdZaP0w7gjzAfTm7z+zmNGDhxWeletxty1YIWllBgLKj5sO34198xE6qxo5BNp8F4feHni1u76e0zeMxwfstYsc3JLV68y566yj9oA/7T5hacviQf1dVrK0juScWGF3+oROmX7C4U0DgxjvA4fn8Zn8HEcQMeHoyoOjkvP3TwZuBD3LRKkVz+Q71mfnchBvqf7Fln2/TJfzwxPvwGqKuTIBvrRM9khqcVPQaqRQoosEl0nu4KwjCo/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 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:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899009 Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010016.outbound.protection.outlook.com [52.101.228.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46177155751 for ; Mon, 9 Dec 2024 07:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729986; cv=fail; b=pCEC1HvYA1znoXavbXAVD70pkdpTNlXSzrnrSs6V8KCTg4FQqL+pJYtVEB5LGVqb3cTLthu6FrnqyXK8GBw0UcbMkokp5U7OHtCDR1poj+xNOUGvxjG237YFG0K2J2uZasrdT3nDWtrAZ5d82DfKMW67OYBdK57wePjJ17bA9cU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729986; c=relaxed/simple; bh=oNcGjzpvOPtxpfg2Gfx1xEYaWegg/LRNn6RVbRXYN90=; h=Message-ID:From:To:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=ii/DzhHU8Dj7ZQU53J0CrQMtcGK8GbU09Ce/nA2SkmpvqoeGpASlnqOiVPcsaxxmYxiX0FmW/i7sKgL0aywjPimE8j87vS6alH123t1TKP1ho5rtDIA3KJS39/0DRm8wLkTQ2xXhDPQnoMoDuf7SrEtwFiaO27BaTtr+1Kh4/ak= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=ejAP31GC; arc=fail smtp.client-ip=52.101.228.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="ejAP31GC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HRdVwjH7qp288RBCEoohXDlcD1dnRu60Zq0V3zhwS01pjk9mTpmHzS0TQULkNMrPm63kkSNuwA3GeR504NpM5yzi7kMHovU74EG6NLhA8Fb5qpvQLPkRjBse/bj5rtJJbtlnRdNjT6ixdCnf0za4sH/F6PZqhYOE5C0oUcma9JJdzTnhMKq6ITBeQ7nxxHMiORKqLsLhZPJcjZJgHdNCWncXIEg//C7B3Ta6nGOuZ8GXhXrPIPYwEjshwXkoLIJuzvqP24qpumEclRcm6fBIA42HdTeLVYzQwgZk7h8OSSX4ZQJTh5YN73F+tfQOpZ4HGwInm2+u3jFM6v3RfBk2ww== 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=H5ejxYyGOUrP3+fXaRXhLQAhm0z26QmMcLMJAPceWWk=; b=f09eqrSW1OjNAiIXIoaBBtJcsGV/Z2fB4zTX6J6VWNVgmJMAphX6ROP322MF/WOqnnh+sEx/DxaDTL3riwpiFsAev38jMjd68bvtMbGwLKU9GlDDdg47n+ZukubUXu5ttumE0rh4E9SnhuSdZyXEgp07EnWJAhRfctAr1P/9bimBa1R0N4DsW8BaewZrR8Ircs0xu76Et6K841dA4X7flWw3hn3aUElQRY9cr3igSjGs/xXUVG3gS+OFXcFPsVee1fsSDnJ1ZQhBZq4l0Qqc8yu+kAqv1lnAIiOVVcvBUeb0qcwsekDCXgRicpAlkZHlusICcUclC+4S7K7oUrv6ow== 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=H5ejxYyGOUrP3+fXaRXhLQAhm0z26QmMcLMJAPceWWk=; b=ejAP31GCehd7sC/85zAuSYfnhi7qd8XYU2OF3DtMQAW2hRpNOy01/47wOhdoG60MZ2fP+qYx8sVPUsy9ezVgrtpUxYllnIiwvytflyt/Juhoz4+pUipfBJn7suW75GFbHoaOSCWeEIbw2IP+69wahxihLlhIqNR45EsR2UZJ1yo= 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:42 +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:42 +0000 Message-ID: <87seqxmhj6.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 03/17] ASoC: codecs: cs35l33: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:39:41 +0000 X-ClientProxiedBy: TYCP286CA0112.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29c::7) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 38c845e1-6eb6-4d66-2352-08dd1824a4e5 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: F+fQ2LHW2SrfH5F9I0Xgc4s226A9u9+YlVWVl6szHWniLqYo8yJLpFNrkWMCoh3+cjUws3/qF0esOIRkQJY9ZPMd5t/MF9t3dzhQersGgk5IHNTAR0eIDHuibixr4Ta4FzeWs0LESgop3XoQDvwYRg68rM6WifilEpCzwltAdJg7UZcHXomC782LgYuPhom2hFd29V54QftfyQAJ5h+q8docS/pTPHemjvY6G5BdKOLoqcnHBvIGqjG/lpKNCFQ5ZRqIDm+fCkXDQM38uCIYD29IUUb4UoCZ5NEKDBH0olRx/r/17vNmi5YB+bx6C0pTcn1lZuKAlQ3q3D8MyOl/1l6IQtYJ2fxDRevyOp2dlnnvnKVBE7BkjvXDyh5Qji1p4kATWWUSyE0uxcRq8iVAfsYcplFTtETE76d1Y04/r8SdiQdWScLjp0m2axOCJfQ1JGd8kduGvfwCrWEZ0Z3gkgUpDdxspRhdVqrlMxDJBCFJAkCiY5WSqovM8IpUjG0WQZqiXwA5tSuX49mWhbgx6oG+TpDI8l3sEVMcdVX+aQBHubHNG7sS5qefUDmqFJKjnfHN5mGxxK4/uS6/NV3pfPIXqRjxsFuxGPCOMtPU9kBgWU8Nlam2fyT44RFUH6yS9A/r+1T27neiENhCrDxjNXSzwkLIvYK3jC/5ruMcNUzwwBJ9Ie/6Sq3MN1hCdBvKRJyz4mS9yUFOg4TqbaHccXlGC6G2+EV4Ish5EfoYrx8dm9uSnJPEZgqKioGgblWsfzvsWj4Pi/9iFK/nARjgN/7q0VOtal1dndLVrE5mpE86khA3+HkMTfv5JnblY6ajioNwA3KqWbQfLYcREurejDPIYy1iEPMWi8qFttZ9KyVvZDWVEpbee7Rd+qo1md++jMxgNi0Qytx0aDArTddSKah5gT/PXCIGcep1/izS+0UMT37LDMgY6TDK4gbLSKzfAObIe132e0HnephbZZPPVm1rUFOrZtDOZFFTnuzXsyF78AQI54EFCat8Z+pkmQNpgelkTGPbF1VR0+9wR/ftqDGuF6w+uAhfiYdnbtzR1htRZVAQv9D/mHNEOizkdahuA42NwpU2EkSsOuPktRSJ7eZ9RFhTi15btwzr/DsrWbrLqaSBXWRJEldWWnIoP1Xw70hzf7uZ+sMkYEPZ2dvO0FHK2OueOpU3XjadIbzxYla900xj3moyuHMhu5FxeEweyIgXug1mfBIK9gtVV3EZbmcn/BHLkN0TZlTCeM27s8vB18hxWn/n+OflEW6nGdEb8zXcZyRJj8+Rb25jbWv10lj7yjSk/zeQTsXEv+avIwJmTrvcxAfCBB4naj5zyoVgWKW6NGIw/85z4xmlB0NzRw2eybdwFCUi/SUclzVXF2nS4OrMW9Xs/H4dIJXb36/JvQMk4Ozd7bCnRjQLKx2biXnRbDC1YcbMUrGoRHI3DYBZGGH1xZX4XfyZanoWKMv6 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: fzhtLb7lLkBkbe5VuvZUlBx/wiZxzPhW2tqUjwMa+QmH9Z27MOEVduxrMo9qyyiG4+jIj8qqV+ugCKvR5/QsjDlB1ESIVerlsF1ZT3WZy1qtIZ97D9jGMe8ZbuXhpveJkzBelPPpZdGvEoKtsdV9fGzbBTH0ga7sLxcdggDFRh1fmYXeHUZKfTDUIPMvTeOMGnLKD17OEB/Mbyx00nOdTvaRk0WaOmgZUjQRxh4msCMpzsfFJrlIQljuu9V8Hcm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DkaRusc2wioZXqlecyzh/FEhcu5L/g3ujTFxg1cirML987Z5QZibrHxOpZnoHDF3ZaH4ST1H/hP6ALkPaJgLZDkNnsrxA8DLMh1VOqobCDcGyiJZbG0yQ0GnNpisB3LscVYhSJ53mIqKMYFCREdOK3dVY1BKkza9Mfb1krk40mj3/+YmEYAU+Vok33AktnGEqstzLmAHPHAiY41/nOph0Si9ImmCST+WA0ioFpQl7+6hD9J/484Ck4ETaqIgfSIl8l9v4yCyid0uJquyBagxOTCgAcjtiTxm9akZZnY2SZO71IdDQPH2S9i5SQWotmqg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38c845e1-6eb6-4d66-2352-08dd1824a4e5 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:42.2240 (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: SJo9vc4DJYIXosMoEnj1qIIJFy3ZrX7eO7rp8VFjpcBEC9ozdfebHAmrlzyoT76nggyoAgl92IVxdTpyiwkHut1RMrOJUiKgBnugKTRxzzlfcr1uELC0zdN9NlxpcxPV X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/cs35l33.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c index b03aab147530c..ec1de0225eed8 100644 --- a/sound/soc/codecs/cs35l33.c +++ b/sound/soc/codecs/cs35l33.c @@ -523,26 +523,6 @@ static int cs35l33_pcm_startup(struct snd_pcm_substream *substream, return 0; } -static int cs35l33_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - struct cs35l33_private *priv = snd_soc_component_get_drvdata(component); - - if (tristate) { - regmap_update_bits(priv->regmap, CS35L33_PWRCTL2, - CS35L33_SDOUT_3ST_I2S, CS35L33_SDOUT_3ST_I2S); - regmap_update_bits(priv->regmap, CS35L33_CLK_CTL, - CS35L33_SDOUT_3ST_TDM, CS35L33_SDOUT_3ST_TDM); - } else { - regmap_update_bits(priv->regmap, CS35L33_PWRCTL2, - CS35L33_SDOUT_3ST_I2S, 0); - regmap_update_bits(priv->regmap, CS35L33_CLK_CTL, - CS35L33_SDOUT_3ST_TDM, 0); - } - - return 0; -} - static int cs35l33_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) { @@ -664,7 +644,6 @@ static int cs35l33_component_set_sysclk(struct snd_soc_component *component, static const struct snd_soc_dai_ops cs35l33_ops = { .startup = cs35l33_pcm_startup, - .set_tristate = cs35l33_set_tristate, .set_fmt = cs35l33_set_dai_fmt, .hw_params = cs35l33_pcm_hw_params, .set_tdm_slot = cs35l33_set_tdm_slot, 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: 13899010 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010002.outbound.protection.outlook.com [52.101.229.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2DAD155751 for ; Mon, 9 Dec 2024 07:39:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.2 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729996; cv=fail; b=grAoo2ICGN+eCXCxfgj69AW0s8rBhCSXmGvo2xAGSsyOzxBy5pZgOFtmr0Cnf0pmXiKH3eQTHZ40i6HtumCM3VEDR84Vc4FpouHskueaHmvmg6HJa8PeCavF6DNVFRG7W1yI4qPRPJdjvJMnlKS65jNXH95+TQMSXHVdnrOR3KY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733729996; c=relaxed/simple; bh=XH12Mrv1Vph/Nlyasor/BYzNxgp+9kqqjJDS9DztZ+o=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=mx4HFB9Ca1Rcnv86mz0a1obzVN9DuqKLVKoqIiEN+BmFoJuZzvkpW5GqhXocCvAkEMC7GdgUcYOIRRCb5Qx4ML9paMOopWT9V7K5Xd741KLWWWMqEJZZMkbRU/dq/kEngCXLnYAC6fgn3XGph2IvtSGHClQqqfD/kipR51IfsBc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=oZyUk1rW; arc=fail smtp.client-ip=52.101.229.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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/vvb19CHyihjtf23PJZbAO3r262UYm40tuBLtsLOGR59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eaFK/Kd7qyNmBiYbOQaT0gfKoigfwTSu84rgbzcoikBnPb1lu/Z9wzXKcJvPtRvuyL0SjxnrhMH8J3zNE7bZqfofxsXP0Wsg3tYLzi0IALaeyxMPetXyhvi3fnqF9os/CEzNDcqOtrWMsJpDIg9uaJKTBa9nKvhYH2whawvtbW/dGlj3b4FVEJ+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 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: 13899011 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010016.outbound.protection.outlook.com [52.101.229.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21A0F155751 for ; Mon, 9 Dec 2024 07:40:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730003; cv=fail; b=rFMDYbT/R8IddVNa1Q97J/Bwe+WIfBXSRIZWkUtnNLw7WyUXcro7+oNZ7hgsIDGIDy/sMz0OfVbRnU8Nxme/hE8QEHgpP1qvI5e9s6WEfg8twNQHBZ+98f9zGaDc1m8TKcIMzGrX/Wj+F5SyCJvC0LvY1LFVPxFGO0yAAFSs/WA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730003; c=relaxed/simple; bh=BDL3R9OJdgk1u3JUvkLiAC7cSVXg6yPRcZ5PxpP11Hk=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=m+YOtxBCSGu0HvziZ4XfKI/nb75O0Ub67TPe+gzdilMB+6t0bO0KUAwb4HgUyuChfCj5SgYJdcGUHvekkEJ6WaKA45AvkolQlC5HN+ImX1taZMq0r846q/Ns91/IN1xDWLHPj+/5YCRSX6k2bTef2jholROg+D4/LXUFbBT0ldc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=aaFRnjza; arc=fail smtp.client-ip=52.101.229.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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)(41080700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TcfWXasLUqlxgt46KfopsUUrfeYxzidatmglsIkQwH31Q/2/khzvtIgINwW9E9TNarYAQszQGYenkVdeb+VcE2WQSX74Qw0ODcTfHt/ZyM4TDY4EeKyFYdr+l0VC41XPoG5FSp1Xn0AiKyg3MpESH1m6oj71e6/duq4r4mRyyG7phZu5TIoC7ybM8xOR0E5a4+NK8AcA4or6mcT0QwwhUfsjCGIE2mrI0kc+OyZSpog2DPO/lA3rOAscP3H3S4pxc9Nh6Eww1bR5RanOSrUNJ0HzxY+yKSC30jMF+MORDYaV3R5wt3Hey/qk3ZY9vXaONsez9AbIT1a7c23DMO6hw53fIOTj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WUX1pzFpwC4DpWINM/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 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:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899012 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010016.outbound.protection.outlook.com [52.101.229.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44AF1214A9E for ; Mon, 9 Dec 2024 07:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730005; cv=fail; b=kEEftbJ0IjKX3hfcPkpYArj4XZoq91o8jHxZJGXoyqEp7YcTL96m0PVvxUuLR5udySVjk843HzaMrHXK0fQlWhU/KK8pSoR0Tx9ZpPI1HL7DP5yE4vGAxNU4HgWVbr+2mnn5Ny5SM2Eiox6q+CyyCXFXzFyn8bAc59V9pxVWEi4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730005; c=relaxed/simple; bh=l28EoavNEEln90CpJ8B58Sv3MxbmTPJAoQKfzCHAt4A=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=ADRflxNmb+gG1UR5L0bDF8cXQ3jQUmXD03aZiTweJHu+xixOh0G0CusN9GBgwD/0XxPzsyoTOdvYn12yA0Z7ezf35fZ+ozldeT5XHY+zMonswtJzZ13EiG9KIOZ+N3s7jqCWmDpw/sm2sJVwn6M34su+tz6CFKyvGv4XzXQkCNc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Ya0FbA2Z; arc=fail smtp.client-ip=52.101.229.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Ya0FbA2Z" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qpxMsWE6MVubXcngc6xvLgRqx/SwELKF4Re4w9yKeqZ1jLV9JnAjpI8kwbnF4TIP7A7X0EAOW4+DbL8cUltihfN+2xyqoalj8JGyW5x3TvDQ/aIxRM7TFEL6wMor9WvJkodoR+zYSWOJUAURl7OgpGNO01+Ql3mecO1OMuC8OfT4leWqCiOX30LuZIl0lUHICXNkXcz+wmw6Kv1qoGnDCDfXvfx5QQ3VGpy6lRStP7Tme7U/ccwSCuT1bTr9/IsoVJwDg81j1bE7cWpiD+9lCDGTKaHjeM5lri/F5HbGdst1YEMfsFCpRuRJ8GkHblmhslsUZSfFQs4KHXd0MCr7sg== 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=4kUZisYMxL1epoB7wZ5Il8HPMuc0v9OoPBD5Qu9lJFw=; b=bWHzJFkc2WAM3bwcE11z892nV5E4BgZYispXmTuf1yjJQ3Pl8nEylYcyy2RlcOVmCx5qR893GP+7UbzdwQeitxD/oWGnF+7P+p4qaFYeqywNScllfSSRx7Wdq7qvsKTX2CUhWD53sKvzIaTz9O9u1qvY9VPuefNGpbJGPF/F7PWC6KbLXSbY0B/bPkehJ6ZPwqsqB6VJg1BcFguZhZsSCnnon1llOUsUjkCwBhPDFI2cZuVZ5PvyqdwWo/GVP9zqEZUMLMHUbQQz6GyU3ueznubE8exKfVmKw+YXhA38dwY0JGG7ofbzaiAZCikKR50zgQEAvKhBtDwDcZtTWtbWYA== 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=4kUZisYMxL1epoB7wZ5Il8HPMuc0v9OoPBD5Qu9lJFw=; b=Ya0FbA2ZpADoeJRY8urgdFLYuF2oA1bCGt/GxmhIZK39x4IWwFeJ3u3rDDTfnR24QG5ht5vvAmreys/N9ZS5NHj8buvaG2goSxi/36D7FJpOE6dmyVrxXCpeocDyc2OI6F1IOxrxbiusBX+Kkof/+NZactcoX41WRpKLTd2rfME= 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:02 +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:02 +0000 Message-ID: <87o71lmhim.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 06/17] ASoC: codecs: cs53l30: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:01 +0000 X-ClientProxiedBy: TYWP286CA0008.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:178::11) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: d404d66a-902c-4299-8ed2-08dd1824b0be 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: un01rY6QiCvIy3mrUhy5RXY/WU0+qwxEH8gjEtzaJ4EME7dLJWab1yBu6ghpxpRf/U4Sipi1W25HfjTZCKU8rSWTfkrS8imEBwLqMqwbHSH2P8MpRzHIP/fhOr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LhY+ml0qUUHgYNFDy0YcbdJ7b58gRffJdz83CE8EEVX61Bhbcf4WVuMJ1defGk41VqjXvJkKygIVNmKh0uZu41rPNE1A11FZtTnCrvKv8NkXrjsyenykjlrilSO5i/9V2u3VrY6XQ6HpeRtg9tL1DxqvqdbkQ5PlIO4C6BE9FAR4/JCcc9XEf56OLqYeSmkkAz5EZgai4TPwh628A3Rl8xpMd1sYpXgy3h5ybKtiS/OejO0j3zMbaMBCYlzZF+eE3jmBVHvwH 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: rx6gDmxsI5y05sbjjSS0HgYuRS6EM03b8v6cbhoAnDeCUO+l+VESS3FH5p5VchBizlYUjtHHIkS0POAG/mujFCSqNc7n9Ggg8vh94T0UpoDkODByrZOksAnyEckaYY/3e1tMY+ZrdDoHm08/83hYnq5ZJEesthQfMa/3eJNEf7Kb8cEVNOs5ik/uw0vV5+rs9tZTjUqI5PwF0d4xoG8XsSFRDwxefQUfDGEMmzlwn6byFFvzyx1/SQA4SuvuWq5x5VW5gIDR6LNSluZXYdMKTBMXNeEw73wWCnYVkEqR9Lha2ee1M/mNrT+p3aa7D8YMWVRaiQZZ/scFNk077m6+C3rhT+Me+vm0LXQFYSUfr7kb0P1ahYaVTKiP13RxAMixBvaAGyn2SDgSPwuXoXAqO+uOWXTc7YvkN+jHkyOrdVBrQ0UmE9byYi6IiuhgorqaXsPD5nf9RyPvqLb+h0ouE/uM+LryCLD26aCr+BDubSKpNBdYAdSHAHbpCne8NF5UsA1G1/bkx+59sxuZALAjm1jQUbHFplv4vEuugT5IRLvUvT25wrEOmr7r1Uxt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-MS-Exchange-CrossTenant-Network-Message-Id: d404d66a-902c-4299-8ed2-08dd1824b0be 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:02.0953 (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: sxo3bg4ipDndFzU/IKAxDiMsqB1ZpBh0/P0JId+Gnwk/c+865woKNEfp1xjIv7tuav1DJR/g+n3FAjgShsyOeSGFgXyg4C1MWeOqEwWQn2tET4p4vQJFn/KlLplz+r1Q X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/cs53l30.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c index 28f4be37dec19..f436862dc5c60 100644 --- a/sound/soc/codecs/cs53l30.c +++ b/sound/soc/codecs/cs53l30.c @@ -730,15 +730,6 @@ static int cs53l30_set_bias_level(struct snd_soc_component *component, return 0; } -static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); - u8 val = tristate ? CS53L30_ASP_3ST : 0; - - return regmap_update_bits(priv->regmap, CS53L30_ASP_CTL1, - CS53L30_ASP_3ST_MASK, val); -} - /* * Note: CS53L30 counts the slot number per byte while ASoC counts the slot * number per slot_width. So there is a difference between the slots of ASoC @@ -836,7 +827,6 @@ static const struct snd_soc_dai_ops cs53l30_ops = { .hw_params = cs53l30_pcm_hw_params, .set_fmt = cs53l30_set_dai_fmt, .set_sysclk = cs53l30_set_sysclk, - .set_tristate = cs53l30_set_tristate, .set_tdm_slot = cs53l30_set_dai_tdm_slot, .mute_stream = cs53l30_mute_stream, }; From patchwork Mon Dec 9 07:40:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899013 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010001.outbound.protection.outlook.com [52.101.229.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC8AD214A9B for ; Mon, 9 Dec 2024 07:40:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.1 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730010; cv=fail; b=LpqIopS7xk3Wh6Qb5Gt2q1ApaN57xOYZGWh0rW79f01WrH12XKE72lpwXt7XPAUlccBvkEc2pGFtFJtpQFmAaBxWTrjHHZhjmkOZ5rg0LuOfWCzB0vv1KpC8fQbXhvcoFT/pViYkR9agrK8nqhPYMjT8ELBuwK/zV8cCyL3URqU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730010; c=relaxed/simple; bh=oqEk1sIYu6p/9YLZdrD4CTXEomDYLidm41q0in7H+yc=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=CW8gmaXMIASuNWrSCb1UhCBag1JaSUkwftr9qZxH6d/cJ0AEsCGJy/CDFaxx18qvoWSXqRuMerRC5yrDXWQmFGKVfjOo7Lx8amxoO/dJKBOxDWayjYBrsHjqAMn7M0kuHAb+/ao2XaFua5z5rwQuRac0LOsk2WF1CoDOoBt81PE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=DcunxJ+P; arc=fail smtp.client-ip=52.101.229.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="DcunxJ+P" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Har2o1yByPDjil5Od+rfrxR7yx7Qu70U7yzjPIpbUQd8YslcTqR/EfWPxQylFB/AGtURbxavhuuAQIh0Ush4GIB5h70GqRIY6zCY37k6Mk8dUpyUd8X4/IP/sXDF5g7jp8MjbGoOqADvPgQx5+G+nHxrtCX490t1OxmX3ueRenUWBeC/XMcxPWwNT7e02WKBuBhE9rMdQ6Qduq8FkyX/+leNiwcJvFSUbVn4nNhQIfT72QMJ86GnBerIyowoaa+8G4xXUjNeIqi3eYVx5OoBIb3mIgqtKgHj6k0wG/LuYOrrx5EaiLC880pJZTwnH8NVhpVDz99Ev+Vq1bJVQptqpQ== 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=EbU42JVlTRPWUwBkJS9XMIQh1yWty2iAKklQxpsw0Pg=; b=JhPYfKgHprPhuVzCZZYbQpyeReTGHCdI4qddYpSBsozFTePLK1kKWyDhxfaqbBITji7kXG0Gi72VpHWyvuM7U5GFKWcUU/6Fpq1X56+wVIhcUe1dgg1+As+QK/selZWGAl8TnRWHBdGVX9DK8sJfX3hQOo3FRm5ozHciW6XVJdaniLabVNCWE1bx+pQ+QjFFXuDs/tBaxTq7FY7d42WBvJ6Nhv+m+h+S6VpB43Deodptx1ECusRpYzeAi4+XXCyssgc00cHCFjg3KM/6QwYghrLBxRoAfgg71jcP8VjbEFrs6AUgVyeVm8xNHRSSx10RaUMLa0+fq/8UPkMC9XGKRQ== 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=EbU42JVlTRPWUwBkJS9XMIQh1yWty2iAKklQxpsw0Pg=; b=DcunxJ+PyB/jsEcwYKLjqqeQIRCsgb4okkP3m2OVBVPVAAHHOk/79IYpsl9f/vw8+UbvmINJyoa8zSkiaYNKixDF99DcCUJGzpx4cVocAcWl7Gih2KXbJAUUmnd0Fu6GRbOTz0czn0dOWVZwCL+aBNLoxs7iP60sJT0rsRSF4y0= 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:07 +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:07 +0000 Message-ID: <87msh5mhih.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 07/17] ASoC: codecs: wm8961: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:06 +0000 X-ClientProxiedBy: TYAPR01CA0068.jpnprd01.prod.outlook.com (2603:1096:404:2b::32) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 29466a55-f954-4fd0-bf94-08dd1824b3a3 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: 0LDP3CwfVg4MfTPl7x6ZFSMmS+adX4jesjMASZL3zykIa8RCkKN7fe7debgkIYJFm0yFtuBURdE7e2t0hb/lF6C0WWAWiV1vpQb7hKxvCu1VbK5qismK1ohOAkyrAD+Xs34IBDixE1HGuVCI42wqvtJtrYpGcSp+1zGZP6fDfP9e5LfHr/ok/M3ioweXDE0lUmUIFgYX2mMpm5b9l/VqQtOtQIOuaI3+f6pZ3bKcq/2AEJZ1VifcH1rCXbI5feZhIh90ZypHoC93yyStH8swujVJTOp8zEYynjComUrzl9RY8TLhdJjCU17iiTbIagf0Yv4j0Z6rKnNRfsg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/BDvYYyhrnlEVK+IhSia1ZoONhsi0qvOs7DmZytWX3Mxf+oarwSeJ 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: GyTYDtIp1QhlVXuOgT2GpZztvh/qkEmb1gkBQ0FTBb+t/H1LB+2e4cgK9NrlkLtUpykZ2iDGHoAacD/8k5vnWxWImCJJAGOOL4Ileao3yu4M1pks416jggLE8SRdYEuMGaNrTYxUDbrocSZgF3xUjhUV1XYnNV9lNRtauDmbAT9VAVfUjZlz2+0ZFMFiFpCAeV/DQcYtds+unx0IUtSKNiWXfjl583apwetbOPW+XaDdRpM0oQ4pf0w0W/dauEOJMFYAV065xmmCB68Bm1Nj6vSs8XzuWR3UA3WbtzkQ0ppvNhFl3vGt+xwGSqxJMpIejiQYo9r3JtMqlGhsKK83WPpQ2Y1p7JQbMQFwWDOxVWacsPq75wc+/BYOC4Eg7BtjdkAA7VZ6CaW3RBK3De3OMR69Msj2y3LgPWKCZ0S0PfDaKHQvOZ6Ua455rNdRr417rvU9OF/FATYv0XlW/RJWahUF/SLKV6ZF6VlkxSzmOriXafU8wz+c/FJ+6nP+XlEyxn5kMA35kFlU0uKR2AYrxNXafcPBUaegFjcQlwZdIG6MCIdqZpIky6ICoSKCRwG8n0PFqKN55WGxGGR+mWx89NFI/Pc4WwDeiawfJMDreZ0oh2e8Ice8jy4+P+eCkodS/VjLUcLKTzgo5OYCp8ZEDX5y35zdzAMdf53G3zJhF6XZbzMKsB7FYjiSEdzaPBJ8v9+5z99Gs7ncASEMZbnvfjQ5yUJxGMTkc5c/qxSN7x8C1uXVEXUsiFH6NK6PCO9EpCEv1AZmqiYS8mDco3smtmn+RsGfGEyGgyJoZqp1lueLaV8bAHan19Rp/vT9FGuBav1tOYeGRgbp5PrhyenrfnSahnScPpsMDHhrF8V2/jziWeL43CdnrvpOOWSqX9gYPJfrkmfpi65lEkGGu0ScoYYtG2ZIA1wKfddNoBwLRh8vYGnrHNyMpp+CdwLT7ke5ChrvH4UNAwqqgS+4Or5581em8tsTxZbLoqy1eUajO/SMFd3lmRtfLF7M4Y8gciUOM9JPNXINVItJCd9ZwzzhtOK/uvCx0fHvW0oL1+f6q0xZaNiUVfF+OIuZ8Qp3Y3C0XG/AczAI9ET434nh4PVdV9wQlCM/OyjNbmcNc+fFXR6kMfUzyWlq+/NiHTd3tdrs48LJ1HC1TsYtGnAxL6DzHkf6X03LHeeDOmZZTyxIAwSMdw+TAEA2JkLNXro2wq8NRH6YMaFndf4/1GC+/GtxzPoZ68KJSWCYcuT1bcDVKFbjy2llVDx1uPL+53z+UXXaIZeVqLkNFEbgTjM+4vJTTXr74KjbH3NRcjOmVjxbbpLQDakr89ONR+7BTyeNOLdT04GriCNzTvXyohyL0jTywtjK7qD2HCsefzmCD49ocwP1DcbDToab49nS0eVv0fINGnELb0eMHm6KA1cYiz/vpHrg9/amVor+49kwvhC3RVCa70DdoCds2i4iS8JcdJ5rXb7fbWmAybvnPmL/MsWC/yaKVHRXgn1pa4JR8OIR/rxSY3Ke3g+guzgQnuhiDUVAL2iHwhQ3zPIBhqXVV9KYmnBd32v+owofzdcgskogDtlXSh2LuwvegJvCPXbXJHoAXducrrB+jJMdRKEuYoVEFi36Gxd1dRIKy6Z8vM+1zrA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29466a55-f954-4fd0-bf94-08dd1824b3a3 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:06.9510 (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: 8VDIVU+Wx6GSCTfy9gTctlTguGUrwpLNRW4GqGoA6/SHBBgfz3W7z/eWvzOfiQiVhi4zhjpS3cOURUWMgkKCTpM2qybxazxtO2PzvtvscezJn4Z8kBDvRJJZNRgMQuRU X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/wm8961.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index d1c731e25777b..13078796c4e28 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c @@ -685,19 +685,6 @@ static int wm8961_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) return snd_soc_component_write(component, WM8961_AUDIO_INTERFACE_0, aif); } -static int wm8961_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - u16 reg = snd_soc_component_read(component, WM8961_ADDITIONAL_CONTROL_2); - - if (tristate) - reg |= WM8961_TRIS; - else - reg &= ~WM8961_TRIS; - - return snd_soc_component_write(component, WM8961_ADDITIONAL_CONTROL_2, reg); -} - static int wm8961_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; @@ -807,7 +794,6 @@ static const struct snd_soc_dai_ops wm8961_dai_ops = { .set_sysclk = wm8961_set_sysclk, .set_fmt = wm8961_set_fmt, .mute_stream = wm8961_mute, - .set_tristate = wm8961_set_tristate, .set_clkdiv = wm8961_set_clkdiv, .no_capture_mute = 1, }; 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: 13899014 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011043.outbound.protection.outlook.com [40.107.74.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03013215047 for ; Mon, 9 Dec 2024 07:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730015; cv=fail; b=WL9oMZsFqUPfasg2mJYSHD7FCznHJJiNTfXKgId2ezpuOUBTTLgN2rHM0xeS75QxPcG2jTzdWB25h0+Si3vx33nO6kcpftIzkVk1K3JWu5A2tZeTzSa+C/wlIPc/7F9/FoRM/UoOtuoaKveDPQ4y011U56CQXaRp+AT2QBy3IZs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730015; c=relaxed/simple; bh=/F8kZfV6P3Eq5FGeVR3K/rQvxHvWen9EL15AdNcpIhw=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=Guhv2UxqyiGgiPEu5l+G/impg1CDzbWQYV3viCDDuSv8gHSKhFC9l1nJFd0jRuPv0VVMb7YPU3KTNsyUwcExRJnjNZjZ2dF+GZlDuiSavEsRpiKU8dGLyHcG+lFOpI8LeYouo7KzVgFCqDz5qNUZiwhW9zVrlIeGZrNeAhKQVPY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=USSAyRyu; arc=fail smtp.client-ip=40.107.74.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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/R0Mql4Alwgq4cfx/ApRwtXKfsoq0RuX3ps9EQFsvGtfGzgIeUoZEr4CBjCVYZNPPpYFo6lwdc8vkuxozD5KkEBHUk/JlaLJWNZ0Q4tK3U5aTbKVmiwHLJLkAKhIxhQUsWLkj/jX2CgCGvf2u3E9gZ+44eq75JM8y6626TM5/nDFZdn/UpTex6gPlkDiTdQiDBhLYSPF/Qazbeb7si1R937Hlkap+tLk27gKz1UWvNHWGVoGYfED3KDUpTseJ6Ox+KrZO+c9VI8MhPb6VPSovsQZiOuf7lWDqeVp31fD9FNBOq04WUkz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: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 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:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899015 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010032.outbound.protection.outlook.com [52.101.229.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3975D215041 for ; Mon, 9 Dec 2024 07:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730022; cv=fail; b=EgmNvYhrOCACxXocsfQJSMAUsYClZxlI1mGDspb82F7jOJI2abQUcB3AzKPIP/TyuUlpXVBNN5xfe0t0L3wJxqefwSFiBzmiEZctoR9rnyu93w60c7rHSHnWFonOIu5/o6pVNtTyOyT/X0Qw7YPsfs8f4ATEZqPljQBaiOp0CIM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730022; c=relaxed/simple; bh=sMPQ+Ow0RBxY0sN8Mu/ndFTHHEY2FeCrI+jKkQPXMoo=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=ZUK9Kb4pni+LfCZENHnQPJrkvqrxhkyY0xM0gJ8mab+ltBanJSBpST90KB/fpmvZ0EfBwfEtlzNiQZJhtEEWR3qeTiy8BbqUXX46oKawmnsBZzpVErxnGXHfMZ4XKfKQAmYbK8RNjMoMy7lsXaDfPtNNqD8l6hUmD/zehpPuwtY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=jhaZWQ+u; arc=fail smtp.client-ip=52.101.229.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="jhaZWQ+u" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hRjYnmk0zuy+raov5No0t6JA6qZ2PyEQIoxsUN9/bCOCpof5SJNpwqRE5pgY17GREC6jEK2zSEg3+BkZ7JvmlbIg6VUt3/vc3P5WXkbZX9a8h4kKU7IMeLZvtBVFY9gfXhKInxg4y9wWSpwFyIFYRSUUslRUUdIcp/0PaKLbW5oP9Jvv9eg1W+bvQMZl997tEhcFDZbrIyi+NBrUFLEymhDAjbjRc4ASGCGzi7Jb4CQYXz95cTpMd/8NmXhMyprUX5jaw9WPRiLg2KpSZS06Nir3N+tU0Dm/2zD5rkgkXq+0Q3NpUSUbnMCtLAvmuSvMCw65bjQ14pOKJW5eSPYErw== 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=zb+e8q4KpHcy3V9pTTwUXxNQNIlnCv3uKGHLWwsSF9Q=; b=x0Wy0z5o06iLga8DuMLemPSWlQBSPI/2UmAm3uP9opwsfj1kM/ObIIlQpIsoSyZrLVLSwntbN4OkDMS+JAODZQj2KAKNpVmtoc8lrQvbTdRb/STSx+Fs8NK2yMcood0C/wGW+tXEdk8cnAOu4TsLJq2nily966B8kr/GTQy9zvTBuC2qSa7mXD/E+I0zN8A3IS0dhKVX8v3TTgIL7IZBt1INAYt/5c1MHx7fNC1iXHxIlklVHal8A8JDv3MxOAixw5+kIyDshLbIwBsJkbrkQfG9l8y4uMh++8NI1Xm81drn2yHRXuUgRx3NK6Je3ZxkofqEwwh69b7QCZbss5EQJA== 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=zb+e8q4KpHcy3V9pTTwUXxNQNIlnCv3uKGHLWwsSF9Q=; b=jhaZWQ+uaLZSE0NmqN3LElIgmMf9RsWOLDlt+6rmoNoMArRWMHIW+yrkI8NhxQhVKfJzFlZm1j9YrFp+YMhi53nom5lgXFR/YkqUpY+zcJOn97jNXQabvqytuZYMW0YMO5d2nKp9K1V9NucgATXeGMprD1utKY8bUSC8rEr2ztw= 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:16 +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:16 +0000 Message-ID: <87jzc9mhi8.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 09/17] ASoC: codecs: wm8995: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:15 +0000 X-ClientProxiedBy: TYCP301CA0078.JPNP301.PROD.OUTLOOK.COM (2603:1096:405:7b::14) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 61d8ca3d-b544-4a5e-fc2b-08dd1824b91b 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: v1d+f2ovK2su5opGToz6UPlLkXj4ylidq48hDl2HccpT6WoqVOC6VcD71WIXKBhBbyW8QYsDc7004jlw9maj2Ohc3J1Wu4mqw7XwMGhOVoD8biFDW7B+VpH/MKeRPQvsXuErIbHhuEfYvX9zRn9uKo/fH7auxY7HXRdv0sY/XLnfWx50rChxHYaMPzMOIf/ONOsRafhdAyWpjKcQIdiLRCY4bISfExClmDGOJuZk5WU3yuHe5uWJIC5qqE/9RzDbb1mQoBd2lpo/+bQhfAM65RrgkwmJY0/+mcaPyBMT7BTzY24bEy4Msj1DxCRhr5oi8aXQjQhVeimmIHz6zwnCXXO/ifD9ICoM0c8DgkZeo9RSdKJGv3uuK5uQrhijdpEy50vpVJ4083mR4dCY3jA7Dl7QV5JMxAXzuLwiVjs56SMHhnbMPPDAk0uBbQ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;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: e+9tYxW1OEzsEll661nFnifcJnHZZ0ju6y4SogWbya//fj5zenJZw0j80Li4ME8SYz6xzoobM30IW6PiwIin3M03fbUqM0yXvIhNftSaYxvsmu9z6t7WZf61Ml24LYxlahIh0T5HVsZ+dZTApo7xzrqcIeM2SCAFN7W9nbgBkzROR3yDXIRv0FzQmZUXNqQGaS8z/5S1nm21REAiegojWmmFkfcHXUHlQwVfSX3OPhksvZY94uoJa6gwBJ6qA7lAAU5dy5C4W5H/h1cCLOYKPqKqxxxjN6FYydm+MUeK6l0eQZq0M1UAq8X00BKe+xlCIUu8VylttnjvD5fA8J3R15YOsLmR5BTEVsxD/UkeHs5m4aYKIVqHbJQYuWQhyVYlenwnn/wFclll5+YjDstGHOSXwAeRTh0WuqYm3QXjEJkxGAqUK4oIf6+Kr4diExLXhXv0aTbfMGScj388BEMztUhW2ogoXQumAzYiL4RDyoRiL1tddE8y66kEiRt16EsKEhNzVEor+JrsFouzisFu2yzq9K/nui73Ep35CgIXPaTGY76OX/hOp9yDwZqRn7ODvPnoJtlIDqrEn4kZEdCnyPs/Ej/Yb1qsLqaMfvTxH4CUOYxa0/TTeg+dGzxBUlLlbiB0074DNwgn9yVLxbanfhnjiC7Fqm46hSCXoJ4fadc2n8PnX0zbLX60J7iXSktRTp6wAv+lBqskhE77mflv0YE4uhG2PRK4ZWiJyX0kn8huG2sGE/pMjQIyRdTdJJ5Fjd4MBUHcEfWawEo0bmPharIEbIOtiuBFoj/p3CrkLN3r7kWjyGSdTup4qDvlHrAPswu7FGrSUB/i9toHvoNPJ+mgplw/TFGhew4OsIfHlYqbIezyKRF4h2nVyF8KIq/mwepiuadiKrdIzBgpXMQ54uiIh/ha2EtANk5CXAuUHDawquZ64mdzpq1IV90AJUVYVJN5+tKthEvZrEni/1qpWXQTGM399z5dyLwUmAU+ySEnY9002kyCBrAoy22xwhqeOqPzQFnMILx3mNQS6MEg68uWm1sUfBVuTJytWNweQFnx4LtgVPHmee7Ga8nmW4tT5rz1TAsHZZsk5D4iYHs4ZLaeRxnPOlfPnt+zvEWGH8RHW0Tl5+Asr8kBKa+CAoRRsh5ztQz/8n1bcCba4dZkypqcDpJCY3WPvrr2JHDD1U/JYXDlxwq2VIMPny75T1ZyxlERGhZ3EeDmr7Oqhevjy83rQmCPmHbWTXvT6/kbq0yAYzNnQSd4P+ArVm/vzsojaeprvPZAp5tM8DrZcPh9dwB/LoBmbfGG36h7sywu+4dVQriH6hS5evVaGNMn34vHO7aMv3ToiyLllIo7ZSXJN/AeWhEP1YXb5JhpJ/Ikwy8QX3DZNZL/nQrUTdfxN4PFAly1Lau8vgx55O8C6l9xRUe2Cphafz5dX18dBfvygMoPmbgG1ZhkCinl3AuwZJdGZjkdLfAT347KKFa1HCq6bN9DdC5CnUlgCKV6ydPH1BkI/hO4KMtIsllDepCrlKFP8F93qGG8OFPdzJhY3YIbOAqnWu1Mt/wV4kXiyZ/v+ni1lmLj6ma7Rf7zgU0yScbBSniEgbnsPAuMlYySe3QbN7YiAa8wcvDj2W7MlWKljyA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61d8ca3d-b544-4a5e-fc2b-08dd1824b91b 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:16.1142 (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: 4qwLslbqATUTsvtSY8h2lB6Prgw+WivaE3pPpX4Hxw/a5j8iPesfyX54uuK1Lg4/i2LOwNuSL65C4BauqPW5TG3BzqEZFDpSxq2LRgYWUKWS9gQIJmwKmYnd0Aq7hNtA X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/wm8995.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 1f9a9b6369350..c324cc5ea9416 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c @@ -1678,36 +1678,6 @@ static int wm8995_hw_params(struct snd_pcm_substream *substream, return 0; } -static int wm8995_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 0: - reg = WM8995_AIF1_MASTER_SLAVE; - mask = WM8995_AIF1_TRI; - break; - case 1: - reg = WM8995_AIF2_MASTER_SLAVE; - mask = WM8995_AIF2_TRI; - break; - case 2: - reg = WM8995_POWER_MANAGEMENT_5; - mask = WM8995_AIF3_TRI; - break; - default: - return -EINVAL; - } - - if (tristate) - val = mask; - else - val = 0; - - return snd_soc_component_update_bits(component, reg, mask, val); -} - /* The size in bits of the FLL divide multiplied by 10 * to allow rounding later */ #define FIXED_FLL_SIZE ((1 << 16) * 10) @@ -2096,7 +2066,6 @@ static const struct snd_soc_dai_ops wm8995_aif1_dai_ops = { .hw_params = wm8995_hw_params, .mute_stream = wm8995_aif_mute, .set_pll = wm8995_set_fll, - .set_tristate = wm8995_set_tristate, .no_capture_mute = 1, }; @@ -2106,12 +2075,10 @@ static const struct snd_soc_dai_ops wm8995_aif2_dai_ops = { .hw_params = wm8995_hw_params, .mute_stream = wm8995_aif_mute, .set_pll = wm8995_set_fll, - .set_tristate = wm8995_set_tristate, .no_capture_mute = 1, }; static const struct snd_soc_dai_ops wm8995_aif3_dai_ops = { - .set_tristate = wm8995_set_tristate, }; static struct snd_soc_dai_driver wm8995_dai[] = { 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: 13899016 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010032.outbound.protection.outlook.com [52.101.229.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50939215170 for ; Mon, 9 Dec 2024 07:40:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730024; cv=fail; b=ug3lgPeb4yD8i7Sz8mfEkVSSJWIhOc4iBpT6scLvin/KJJRMMliELr8lsEBxkxl5ObQmvdu7K86TbgHP9JPfpbfzINLjzpUthO0ISRhN/qHAi5K+HU++MXAqfUHbJvPPYs7USs998Pk7qbgrwJluMEVkr4VVdfaxm7YOUembtG0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730024; c=relaxed/simple; bh=rnurwG50QVzLfophTHyhe85MdX87qEkkmeaUmJb8iTc=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=HVHINR8osvvmWrjDRjz6p9ZINejqaBhnwDkGsImdJV1ttpat7w9lY4cP1rJcsSkoZIspz2bBkxdLvqs+MGMR6pzKOPAgi3YTXNbsE+J2wjYKtiPu3iR+0VBp6U+kwvwWD0jLGk5/Yn2VWl/amCgf/x4BP8oVMDI1M9QhmzbW2Bs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Qqb0Itfm; arc=fail smtp.client-ip=52.101.229.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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/t9YzXmVflniItcMM0x1CsfQE9zkkm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uEsPqmcTXMerLXc9VvAuyzKlueFIMF4wS5DtwlI5og+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/AoEfRkX5tbnic9oAISaH4bnsZ9cjkhfTPKqpRJ9up61+h12hU9lrMmRvSd/A4Cfgz5IR20LoDWuhzBz9Id1Wd0fJR/+jU/f84ZicxN1IVj3rQGuADJT+kRyePqHlsCwKEzUWhHtIgkpoAkPuHB85tD8x7h0PCJlOcBLIIhSP9HfzqM/GMDMAtixm1wWXwxSsOlvX2P7cg5fonPB7KR/8bM9evk5wAA5EzMRxZ4ohp/PnjYeuDjtMhnNX6JUppGuxdlwaWRnJFnyh4VwL5kj9sU8x/r81XdpU0O/t5D46gX97KiIcIAjALZRoKzSExvUU6jps0G+gIYWVC3NLUpIn/1c+OwvzFi9/KKqYW9eHLUF7CcmS2phvVPk0/UBvqDeHSWb6dQ7Ds5EU3JtLeamZCfpIK6A9LZFpWu0QuhU+hfHf6xpXGwLgZ1r7DfTXyk7tqS5a4IOuz0rlbFr1kw/6enos8n89nKXspAwgjUyNFLaS5UHxco1RdFZNEcztTWw2iWyVQNHNTFWBAO/8ERmiGudjFV6gmAtS0XpleX0agu2sYMDgIBa/4vxxYWsMs1det+nLCwU42gQ4JQon1aHQhktRXtALAqUYgkPEY4/StQTdCxPjbW8CYSTjlL/v/yEzfJc//j1ZazfF/wuybHhUE2F8w43asDdVIo1YXmEFWCJ595htIHi/CkSqSlzqU2+gZvfuRLBn1BieHjKuzE9Gt+NN3UJYR1hJjD7rpUvZPk8m4X+t58YKkFSnxpLslM4pGuppmOHfU45bQydHQkuOdElS8aMF9+wQs1F5T4yMIBzIfbNoUhGu7IDVaaKgnmABrkhmhxS64UO++mp4B+40GG/PS3G2IqGMqWVVuC/qYuuwyQ3xCrHOEbcjDUVawvLUQ2J8K8I3T3eLBoMrfFA/WXaCkphmvNeLDZo0N3Y/slZhwnlUsaaiN0LqRm018kUZPQiD3YvuHBhvbwiPHNXSRfG6NMcsg2JZpDaRPMP26g6WbMk9xwyLsW7OwwDVNF3yLceJsi5l8FW/pI/gPyNILZgfABLs0uPcb9A0QYzXOQIHCacHZASsjBQU7gmhvrA0XjKN/0j9e0yGxzumNw7loiqoqAkk2Lriw/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 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:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899017 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011064.outbound.protection.outlook.com [40.107.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 423A7215041 for ; Mon, 9 Dec 2024 07:40:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730031; cv=fail; b=uIS/6TcM6z7APgWsVP52LRShD53w1+diol7VUnpmBVQo49Ttnkch32oej0I4HdaT7w9MCqTvA6rFrJsMtzCDcAnZF5aIbcNkKm1lUi1sJfajUWG9amUVaCaDaHgN86X/h4Wg5QZ0Kl5LvBB2W2C1+VJidESSci46hNqiM4dL0MY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730031; c=relaxed/simple; bh=5qgSOF7QkbHxHU+fdapx0clie6BKtiEtgDpMNc88PMI=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=sfIm6kQRlKr1RFlDPJDo1uAbo/B4XazzwrDS6ZxhGg+1hiXK+xfVitgSlC6F0EztbN8I/Ipi1ZqFiXwYK/LSPuSGqZ6WuGfz32G7DL+vegSvfr8GuguyDk33VKgBC7/M637mfnQmM3lzeA8nkjI1qdb12gV5FbCtppq/SM1BDKc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Ra5PokTK; arc=fail smtp.client-ip=40.107.74.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Ra5PokTK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bwzf0O9b6S0l7LUT5QAAr/CBpqi4aK629N/Az3jk+1WRtCAebJMxUBGqdYksVeM909+1EFrkaMOUAVDVbMrZ4YGzOnmemQxTiw3qG4NCqOBkd0fpAkZfPZ8UCS9wziN3CjWsMGABL44b4pFVgHzn0E7mnX4z6sV/S2874omG74fhUip7T5hbf8Wk2AXA8Oanz1kQRofH6gb9CMhCGTrAv+tE+57sXPZs6LYMHumjoNznUayysxy03EifNC5D5HC5HwQvh/DTjYbxg1I7+25DPyoA/rZxVN6H30q3F4XGxcK+E5csnU+OiZfBDLBhGVMy6/38tkc8s8ITVIRd7+V7ZA== 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=p/XFh0Y2A36hWZ9jX14GqRDF7kYqK8NYHqpf0KRuU+M=; b=Dx2jBrRbWyM4LUIWCKIvwh1j6Yjl4wxyLkVP963yBYJowsVD3wz3D0IRbZtDbtOOQ8HlIc2CRqwB0rE9fIkgiDED0CGTrFDy/UKqBPG7X74+hvsz/8qRLQKaFeiNXE/Ig10edGbLNpTcIvVFCJtEp4oVtHxcRX3OnKnw0kpCy5ftZJ5nof5bmqcB813DAuMi+EVnfJ0QIuFR8AwO9qhoQ/cqPAwokQTvqJRM/wpvqc2I2mrX43KCiJeFS1qzyMYmpR71aU6Fcxgf9dVWEMjLmPMOdupKgY6qGDVqUYG+E3SSl9eNn1EkG6UOWu/50leJPddjyLwZ5PgmV3dp3Nu4aA== 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=p/XFh0Y2A36hWZ9jX14GqRDF7kYqK8NYHqpf0KRuU+M=; b=Ra5PokTKg5qLPIzT9q7jwogRyS07pORJ85ryU5JQC3mqMPncwXeWCt2Q4j7FKurpXHt2ZT8RrSekmldACGooWctj54FDavt7EM5nCLJgzg9E/NJmqQTebXbOBQ9UPwZHFPRGZSJSEz8MzrF6AHJfJpKe5fqeT/fVKu0I9nambek= 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:25 +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:25 +0000 Message-ID: <87h67dmhhz.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 11/17] ASoC: codecs: adau1372: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:24 +0000 X-ClientProxiedBy: TY2PR02CA0032.apcprd02.prod.outlook.com (2603:1096:404:a6::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 781745ef-bf05-4803-dd3c-08dd1824be6a 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: 5QIar+Xhcu6Xkx9zZPxdOG5qbe8L2RWaGz07eY9pxqnhVQmsv1bgy6vrhodOHfwyN2UoC5NES/d6OrHmOtTnuYjWXYSv+5Mm6L3xROYTH2Ip/+As4a8d/iybLbWmhse7ac1vyoyuoRUSLZy2puptmdkEbvKECej7rrL1yqIyjepY2bi9W9lkSKCWcvLNx+hk61w0FCptUhuj0oGmdJunVCdHHW6/e1Kq31bKY20oHs6aBk7ytI2rClKB+VlLSkyE9Cqu8QltNCckuHS/+aQ1yTCdU4BTFClgsPH/urNDZ8vYrJiunzeENppStKp8qdbJjhZ5icx/g25qitPFf7QWPTeDTP6MxuXB4hnyrD12MXM6VQvlT3icqnaeT4EoSdmQe8EJykcYjCpXMhgRFg76DTsf/mOM/ZZPKCbWI8GyjeQ7/0dcadgmoH1cNq6OsGxzSXF35gZpaRH5tdtUARM7f4FRev/8ipN1/LesgHer6SSCdnZ4LZIdMkAJlmGCZJbubHz/OW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ONE;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: 6FPh87b3sxqnafNx2lrNnb6HZWT2fAU6qS7ZdZwYdDO7oMxZfZiIJzZUiHO962w1XpG+jt2CVwhlG4WOmf+R+7UmCdi2vQt8T5zpkvvTRD+TonvlANIIVHvGBvsFomcodJBTs1e6U+c5FpC80F+sCg+tjeqK+9FIMwg9KRfLdYVvOj5rJ2Aqy6KREtMMZF2Q2iG9WZgg/XQxWF5wHBMX6VGIin1i0foCEZQf6SjTJp8qgaA5t4ESQU5NORt8SXXz8bgWQ+pgd753CdqHOyYDtilk7qMOyRtgXIdufzWBAKtmYsfngY08lJwOmq0vRfqAWmGc9TnKj9Fb1Td9yoqKHyiVv+X6wlIpG28kO2M8ltuVhtGCb7cITdu8CugdP4Jy88JOxbxrSLT5jCiq7AyFNmTar7bVuEFjBG0P9fdWQss+z5dsFa962lW0oAGVPY/sizHGWFuJt5V9JmCo7bCxyrZoa34OF6FmpphNLuKCcRkRcegZ9/4HlWiQudMQjZ7OkbkRJh5Re1Hii4un/ln9v3zS5r+aNFH7GrWv74BZ6z8hYf83LEzyuYQaDe4FxKOtd3xfzqJkYtHI5coqPpprxIayGIWYbl0aeJ6tBRjfSNwElVk8RxDMaZeYwr3xq40BtwHXlshtDO/O7QHjmbOmP54BUYaA1sqvokGP29KWrDwN8rmu45nPN+8KXPy7x4NAg3PAOI9PHQzbN8DC6tOeV1pNmlTYnua1tzgXrh9JL7UWvH8sBqFqp4rgDQHlC6t+MyYnvRc+3nz1b7eJkJprHB81mGa5yeyeNwta+bcfQVl2lI6cNEHA7y06p9lpJWUugt7zGpoMdDnzvO5gO1uJuOA9LfAbKQaC1+SmepME20HGnlHfjUcRgXbnDjb6iThDzVlmyj1nkd23kLred+/MQeUs6b0fzA06rEWbZvvVDyPyCFiqoPd9HV/0cEAXRIz2liB3r342wM5weO/SiBcz2wNXPq6/07VzcqxGaNl/Ree7c5x1rKBN+y6ug61MjjOSDBVU8TPblyMPPOmWSc5NC1S1BO+NolGsxQZrLp6upCZH7OMjpuWKJ6lSTMjOOLPsldg80e9ft0R+VS0+oC9pCqAMYReccdU+TFB5D2Ghm2jhOK1JUw9LJ0hBzfJ8XlP3l769N1gdzxWaiAOxP4ANl2+fsotMhBXtNcG5O9bpm1YcxbNsQf1/J+rMGbx9BT44M0UnrWuAhq2ilNeypilUiZpJfumguILQCsftnGkD064JwxhOKXAZmEQDVJgWLVk5uFiWVDzc31lZzB/ivybOzBbikBa5yPX2tWVPILG3nx/iL1NjNSbOUD9cwpr+okDFqa4yAD0bvo8ToF/JQvCAxG2A6VpUMGn6m9zyNvxr23naVusFpW8htOiuGUTnf+8STJTD89iDxLvlvEYu3r11HBwhbOW4uk54clhLVevMidFlpnuh7NI3AS2eq/7KfIxshxOr1o8L1Jwfk/Qd4L1X1O/2r0rVOq2Xbkn8o5bmjnkaTgW3dnGk4PU4vPdUQuByYbWS0lNSPSmO3HkOsctXM4cRldC0IP5fxArqHkDog3q01vL2EVl109NUnjLLS1j/iq/qCH9iJsYSiOUz6TeExotrQSMQGbysCMzhPdHmYKg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 781745ef-bf05-4803-dd3c-08dd1824be6a 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:25.0252 (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: pHFhtmeFL4s0Ap/UqDRJO3QkUqLKgQag7mXwQobF5bPWY/bbwD59MevwGXPExDrH33166+UxpXkRYB5aDHj/a2vt1PneIh7yHks1+6qPMetsWsEDgpDkg5KFNx02PXPH X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/adau1372.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sound/soc/codecs/adau1372.c b/sound/soc/codecs/adau1372.c index fdee689cae538..9db37f12c87ef 100644 --- a/sound/soc/codecs/adau1372.c +++ b/sound/soc/codecs/adau1372.c @@ -739,19 +739,6 @@ static int adau1372_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, return 0; } -static int adau1372_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct adau1372 *adau1372 = snd_soc_dai_get_drvdata(dai); - unsigned int sai1; - - if (tristate) - sai1 = ADAU1372_SAI1_TDM_TS; - else - sai1 = 0; - - return regmap_update_bits(adau1372->regmap, ADAU1372_REG_SAI1, ADAU1372_SAI1_TDM_TS, sai1); -} - static int adau1372_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { struct adau1372 *adau1372 = snd_soc_dai_get_drvdata(dai); @@ -866,7 +853,6 @@ static const struct snd_soc_component_driver adau1372_driver = { static const struct snd_soc_dai_ops adau1372_dai_ops = { .set_fmt = adau1372_set_dai_fmt, .set_tdm_slot = adau1372_set_tdm_slot, - .set_tristate = adau1372_set_tristate, .hw_params = adau1372_hw_params, .startup = adau1372_startup, }; 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: 13899018 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011064.outbound.protection.outlook.com [40.107.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43FF42156E9 for ; Mon, 9 Dec 2024 07:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730033; cv=fail; b=VteeVWsDiDCICeaQ6Vgd4Pv+ydAZQMg01x6eKv7z0MKpiXDWiIGun2u5t7JHmDXVDgU8CXU5bAso0hnHdxBagi+cijhbZcwCe/Q8cVS38uS98t82WOPTiUBktl11O/Alo4aNBqRgUoraqKfScVDCcDwtSioqPdqF16loAp5OFYE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730033; c=relaxed/simple; bh=3VSL5LZqOSP17aVl/woDFDsIDZMHGL3bZB0FwU0A7qM=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=mTU6vVb0t91EuBpox9W+vuRsYZwCNVt02/xWcEcn3unWhXs9Qi8ODXNc7NFGekRw6rjVsUnvYbEsyJ40SM5t4WU7+t5Rpl0RP451T3YW0g7bjEZOoxdxK8NwPt1HHPt4R9BJuDe3IP7SABA+nuWMBrGeFHn3yLFqKLbq3gIJekU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=m7wF2+DD; arc=fail smtp.client-ip=40.107.74.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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+j12ws4JrW75WdbUsJbHj+H0fH51fEuXI1pNREdipWGzgBM4BdHA7QCudxdFwxL00V65KhqfxkOvRau++206bD2n6qXAofa0mfsDn6wylpyxQAEQ2sM+HY62yrKfFKCBY3hC9HpwliTWl+w8BIxg1vu+lkSoeh99uwSrEYAb7JrL5B5cDXo2d8GSrmYSvvpeXAaIIDvNhPG/m2AdATCALgfzfH/7E9XBhgxXGndQYVOvlRQMUaCmd8POMDJ+VJ+/aTMtoKeZ885NwHebCMDhQSincfbX9gkh6pNFCgAo9N7SIZMHZtLx0axM/L5c5V7HiKwV+/MfLZ+zOTvmbnDPz4+gPTSsa68J/9aRAEECVNq64QnOHiZQgMJ3oIS9l2ECgRUGZFi5qZEq4Wo2Z5CmIIS26QsQv7qALDfxWfqvg2GZE073rLL5ncMnjN487ZHLevGeF2XMID9eKRjfPvgjuZ859C2mGSonGPPsbP777L1mihzEtY/gmnA5OcmqIy9JGJfbhXk4B9GFi4fX0G1x+xVKHTPG9eW8EU7fNV919fT3G7JsX3csaEOcndA6pOP2Zcwf4IVYPDRA/+AjT4CZeEmKE3BJGw2e/krKKZ1DvLdn1yVEcgnwfOrrW3v+i75GO/GZRXa9q2411w80FbwcgwW/9uAutkMJUstTBULKpBzGdzfQrNpWTp+IEiANu/g72pfvDYCwyAzAedG1PXVRntXSaJMoWT9Tn2d+CqUjB6UpUPi76eR3u0Q4nipTL2CSYDV+5A1B412zuxtSnw/jD9kvslXzTElyK/Bayne7upmMBb/GT6Y4i8aqC/q4bD68saYdnsylEnYoS7zzf/m9gwLI1LGDeRqlAAEQRaD8BGftQ2DqNriktUBVPzpYcfxALJWmnQOEN6kYYM2wfOjnzmV/fIR2ISsOpTsnVdj4vWdyxIBXqQYPOf/In9aOY2Pw/cuaRNhvVYBh2tL0ighEAN7Mo7XZp+Xtgg9qbdfyinyXXdRTIO8Xxzo7Ob+lmmXHtCbkrP1Ppia9fJ7UYECBhbdUKsvdqi+1zPY7Ae61Nfn0ArdHr2SxJuti1zGUFxeI5VnaMyWX4CQ69EQ5ijVRcB6EpqUJ1z6c8LKG++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+JQE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+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 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:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899019 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011006.outbound.protection.outlook.com [40.107.74.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A8BF21506E for ; Mon, 9 Dec 2024 07:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.6 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730037; cv=fail; b=R4Z/G6zZJotFUGMtWTe7YHhGONqkybAEkppTC69IRZSmL/Qy2M2zPry/jV9+0zYFBtkNUepBvN5CV5cGz2vesz6TooMfdD63xtqvRY6b6m+sIDqF0HRQwrVxixhFcfpA6v64hnR6GuDUlfbA2qR90DdnfQZu3UYqyWYOT6gxOUw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730037; c=relaxed/simple; bh=7mIdQ00Ff4RB1813/SEDp+ktu30BCv8bGBKY361zJHU=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=eqhPuQCNEjwwJq28/S70IzDpTggbW+OBfjGWfReiWTTGzk2az2v9VgyV/EsGLYgr5RGaR8cVQqFd2Z0B5zBrN0L6KUEHDnEd6WPQYphkc8FkfCa9iAbIGll+ATzajYCzpOVFIaVkATEADikdsI02A529QmJBQJcCIoa2YAn5wKE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Kb8M79dE; arc=fail smtp.client-ip=40.107.74.6 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Kb8M79dE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OyUsycII5dhrlEFovLLWZKg15mVklbxHGDfZgxxx96W3F7ywDlsVHopYweTaTtzA1yQKEomWBkayl9SxHhQxSSIaiIrwUzAxuhei3A6qegukArK03bRk/NilwhUtY6XlqGRferz9KjXNaZlIO83UsowRFw/X71mN8cEw0yv2BK1bGsYn+UjeipjhRhnJTL3rNpqv/2Frvj1eDNfhTvkLf+FmLppP1djjKMk5fwNKLiM/bHgsC40reB7ccj1yTlWYY/3aRMEUvOPvzjK9EyI2zzWxOaGWYxJ5ZaWT5AoDJ10em9AJUvfraH4PwneAOPaQOin4bTSGsFNgSZgsSfJpLA== 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=OG19BNwpZldei+7SIEKPrUrFe7aJkpcfJOxc+MxsPEw=; b=gLwIKVWbHgvfwN4lA5axJ842U4Z6jTC8Q8gOp/FBO1eGtgty+YnDJHR/vN1NgZJcHSxBL+WNnAjB/ryS8jumbJJ8R1w/aeZ2o+EB7CKR4wEnDYEzahEfWR+IqEnREbNdRxTbDkqwscthfgsSjcC/13LkA1Fm1GGpJ+kaTq935diacBtn05+CX1mr28fWIJvtFLsImUhzd3ax+/mMj9nPXiS+9fYQW3o/mEncKemeDC4VwNmBv+2oDd7YGV1GMDYT9yF+DOiBYY0qz0pr6u13glM42YtxzJmDB1dOHPh0wSNDUtn0Pp7AFoFNI2cAC2fD7ruKOX4o2MMcNb9r15xwPw== 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=OG19BNwpZldei+7SIEKPrUrFe7aJkpcfJOxc+MxsPEw=; b=Kb8M79dE4FNfphoo2xbTcfbJgWRc56w1871ye4+G3ZtgDoZf+/nWG4FdS17v25A+ZvjyAmWMbMT4Qj0QBpY+HrBvNr8/zBZV8ZZkOEgSutvrsLcc1qP//guRXSsLGfXFiRZgRC9pys/Y6p2bixYygXeBw8QrDQAJAolt0M40mV4= 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:34 +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:34 +0000 Message-ID: <87ed2hmhhq.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 13/17] ASoC: codecs: adau7118: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:33 +0000 X-ClientProxiedBy: TYWPR01CA0030.jpnprd01.prod.outlook.com (2603:1096:400:aa::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: facac300-9679-4c31-8b85-08dd1824c3e4 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: SlDBVvZjad04NmIoeZSzGfv+G8RfdVuWTBA4liOMPDthHtchhLsWXRLtHcT35FksfLT5SxDC5BAaeymeSp0Oz3zA1xkyqqrkasf7LfeCZarb8d8nixgGJhuDSjXk3hioZO+I1eWVbZIsBTEY9n/tATSu+MbqYq64HoQIg+hyOesG9G71ANymKzN1DmF2FwfzIsmXfcI45CZc83rbaS/0sxetmcw5Yak3GvfL99qlz3UZxPAeRzgHNaYhl+jOGOe3H6ddmAPGerqtDcKChtR+MRdjpO1/sncO+5jfobrTuOC+OO17F1bmUZzz4+wCQtDptmEab5Om5tCF2YU1aKqEAtHgvKBXgqR2uuRpbKXpHWJfIBsV1tVaeX4A65WdwXh3fQrnNT9BNEuu8amZbOQsJciIdw+0gca/bswDY/CHQ3C8+xHS6VCC8Wm5+oCRagblxLAzXiWZKdQazzvnVM4/i+OyYCTADe1Da75b5CURTsK/ckqef7hsJb5U6QShRtzJ1UFhCu35pHdCgK7+wIfBb6mRlgqAE5gtEtwYfD24p+w0PCRMACBFWq7VQttvWHGdFFj/5qdob+AjLo4GjjkspiRkzdVN8POaWos21wT18t50dx7g1Yv79/0CFBCfzZAOoEqFwInBGSp4QpDss3Edt6IhESesLDyr4o162hk4mbMI1EW/TudU7+e+dVqdpWYCYBJEMNPKvGgz3tvm5w2HUaHC+qEZytKai1TaZTMA9YAuIchcZjGae6lMONRtBmrc/TsVkbaha1Q9bbraqHfW91PwMlwsExCsEzgqYjSl97tFl1xlsyg7x6IpHlF1VOdlGfXXXKIfKkNxicxnNY5XUE8WHDuiDsT6LzkGIr2UERvT8Dm+ZyCW/rI5+4/LoZO4ndvAwBCm2Y3XPBm98jD96cmDMne99KKivFcJXpBDCDvQ6oeDiSJbuWHuyDeAOyFjEqMdI1Izx7O5VO44cgvgggHSUN6FT1evla7trUySM+rmnaUGdNdSeSjn5VdHgXAlj/pAV/aVhOAgMV4SgdNSIqcsWXbji+gdC5r+rSXpkBL+Z5B55RgWZ1xs6dobP7bjOvjnVsUAzPm+wjqOK24BqRZhDu4FnfKFrSSbsvxDolxATAbRpOr22QuIyT0uAjZM85EP9ZpdgTBPERgfbOWN5ts63Q/kJT7DIzRR27bbsDz+y0VPDNrdv1HXqJHyHCZkw7GKGxNQRO90TcMiSzTj+BgdDPb7gmZPr/bxHM5ytFi0CnWR4xr/awlJ3vdfaL+XRSm5OijnARD1fSbBjBJEOI2kL0oTSl8MAEAfFNwJaQl3ZuHNuCZHAyicEgXXLm1c3ehDgRfiW6N2tw0ka4t+42uRjyD4zVgLLX+Q7kznaNv/ZNXCwfWnmVrcSNl5PuJcM5htIeCnmgLtuJWFTz71w+V4el7b//pjdD0/YdJGw1dGZ/ALMyFwoaf6OHIeyuNT 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: QntjzyDb71akkqgGCxdNXiYgxg8LJO/fVaC70alwRHU0SUEPy59gXoGI56hplg8grYHCIMC49+xJ0uGoAz5Q1q8ztSmdnbdSDjDClcTGE6vpblkdpQIBimdg4g+x8cjGBRu8OhaGp8L/ZihtGcg/K5U6rq+f+R4SuQOmpose8/XNR/tZdx2q2XLOhQhQyQURRwL7hKrYxwxPlMBUt8aO0H4ml6WMvK47+isfIlmav5Tzhtwyh0tCZUwfVWnzvJwC3xbwf0drgIgozrprERtYsIgeULj6pEzqKt632TV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Ts8slLFJv7ogAyinXC/63CmaSWXcOXK0QgzA8Po+3FBAOoDU+stQS0c+NZY2bg6oHVNTEOn5AtwJCdj+Lv0ky9juk1U2lvmAQPOaXbAlNAljxuPZEvvUJ9QoezLmqaGjKtPvG0IrD93pb/w51YtcPVGCb7gP2PXE5sGi1mj6cJyW3UkRJTaBankurJ0fl6hZdZONh6+cnmoD1W+MWuOD56Rg/zfNUxxMNzZyO9iYWLhuTOqUDE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: facac300-9679-4c31-8b85-08dd1824c3e4 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:34.1968 (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: zlXx/Jh/YtD8JC8zWDnKPpBpZ4qh/orpMEcwDG2MrrMawlTNS02/TPYclis3X/vmRJ4QRu+j7RTopO3kwGb5WhJM+WUUhe5Qg4SiZLoa38H4Zn2cP0ufRXkK3ifGzw/l X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/adau7118.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/sound/soc/codecs/adau7118.c b/sound/soc/codecs/adau7118.c index abc4764697a53..df513bc49dd3e 100644 --- a/sound/soc/codecs/adau7118.c +++ b/sound/soc/codecs/adau7118.c @@ -207,24 +207,6 @@ static int adau7118_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) return 0; } -static int adau7118_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct adau7118_data *st = - snd_soc_component_get_drvdata(dai->component); - int ret; - - dev_dbg(st->dev, "Set tristate, %d\n", tristate); - - ret = snd_soc_component_update_bits(dai->component, - ADAU7118_REG_SPT_CTRL1, - ADAU7118_TRISTATE_MASK, - ADAU7118_TRISTATE(tristate)); - if (ret < 0) - return ret; - - return 0; -} - static int adau7118_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) @@ -418,7 +400,6 @@ static const struct snd_soc_dai_ops adau7118_ops = { .set_channel_map = adau7118_set_channel_map, .set_fmt = adau7118_set_fmt, .set_tdm_slot = adau7118_set_tdm_slot, - .set_tristate = adau7118_set_tristate, }; static struct snd_soc_dai_driver adau7118_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: 13899020 Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011067.outbound.protection.outlook.com [52.101.125.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14F34215046 for ; Mon, 9 Dec 2024 07:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.125.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730043; cv=fail; b=WwxUP9XOHZ3NKiWWcF11bkpj3minPVvaBte1l+sIXewGN/O2dbUOIQ4Iehu15J4vZA3ZbG0EVj25YAONKgX6cSMBY05OIT7BXhP6hd+VcpvbA381P/IzGPGGZygDQrV8AaGdHZpjF5pMVFtNHqVy+cXTLuoGnRtK4Tnh9zjQnHs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730043; c=relaxed/simple; bh=6cAy4mm3Te6abSUmRbofPvlwi+KvdtZROOkl9m99gIE=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=RydHzexQMcNmPaDXcac12tuCYXlkxSWagpWFHFN10BHL9h5BFL43QEYILsIhc7oUTmAAS/Dw7CMabqvKthso4tWQ3DZMSgLVNeRzr9Mq2by5Rz6YpHBEhsZY6wusU8QZ8TU5zZg3Unes4KvHCdNmiSAuyWMZEb1YH+TGDyqySCY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=XY4Hl4/x; arc=fail smtp.client-ip=52.101.125.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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: TcLSyH7JHedUWzl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Zp1eVreEVpSNcaixiCAimudH4SbX7uWQxMy6iWqQtqtytULnAZv9RXa5wQWeOD5kw3vbSMRiZdza9ztUA7A9WXoluB3uN2j56KXwPygGvNC7rO7xrIa2olxq0Ne9Yf/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/9PouOQeBLXbmRJ0tj6jo58/tQTaDApplcVz6zMz8GJ5lFqSmPqTpt3RhLMHorXbCZUxQ4+u4Lo7EqkMB4wAgI3uQyfp5Y0wWWAAJO3LInl6hI3TVx3FiFUL8zZJ7LALH6421oz33UURDukB36GcWH3MCEBcYthCdicA9U4SD3qdsO66i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PM4msGt/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 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:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899021 Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011067.outbound.protection.outlook.com [52.101.125.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19A98215073 for ; Mon, 9 Dec 2024 07:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.125.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730045; cv=fail; b=smV7tsGXqBMW4h7ZeIy0wvnHGawGusfK3Lf2D/hwEXIhxN/hk0HgYzyJwN7Mzu3VQzlhkCCHGUsTuA0gMw1a+Rj3UEBRWYtNoWdjLZl8HPxW4FbU8RpE/p8dgO1gL+XDATzup4LIjG2h3ECizhIMWlHepodnG4bS7TFgmIw86C0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730045; c=relaxed/simple; bh=r7ZVpGTUhMu/3jy1Yjd3Y2y9Zgm3tos2UL8bE0XoSBY=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=LGNnhF7sz/C68+p/r/XaioCSq7pSGzN2lCQRxQ5khLCY+d3FfKyLlJjgENmYlbi11VRAD5FBpk+AQLBWb37S6uPdzbOPWGpZCqHhlNR2yvCJo7gFQcdOyP+NwnqiR1kqXcS5iuhwf/ebz+uzEt9//kQIJ9eoNa28XbBd1T3UmEY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=mT1y2bTV; arc=fail smtp.client-ip=52.101.125.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="mT1y2bTV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EnETUMf8+jjRFVSNLqEcY8BdrL5BjJP7vqoKN5HboZIeLXVtut2KOP/2jXGej3mUuI1QO4498FLXqQhyzLKjwxrgLMSgc34RSMlRIP2lMgjm/3jReVwa4Fj3xLtUXpx2RToGQR6PVaYlj059S7GpktrAhVt9iwtX4EB9iZ8xJyIRaVuvAu/kXhVi5M5FLdG4tgDCSxUoxb0MA2Cp6xkVy0q8PWkRwGxpOOjWQBGskmTxgmtjjiyC2Sl5/D/s8ZQyNX6T+GXNzP06AWJeLpR7XLWxD3PqMzEmBPgojIJqML27BKVN49ZGT3qIjmYhX2mHILeOAxP9SYB1PO6wnnFniw== 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=l2Nq3E7jHUmBvXhRAgotyqnVqTlm0zR2boywoNpH5ow=; b=fCnEWnCZGVVS8xZBp1YJ9iomvPL/1zay6QJcRiuKJJC4cuKQUBDqXh4QcvzB4VJNiqFpLTW3PWVMLEvPga9+tN8MxbbgzZv9BvuvwIq82wcE75vyPC5OsnVZutF05BQ3Rs90o9MxhQ3Gu8dyQHsIipdbtWsLBFeMhjDQ3Dxr5mouu9hTBV/U96v5iujfBil/QAlufeEgaUszhBNFsPN9M9cuFXWldFsyDKOJGGwx8ViLpShSYHHt4gJOIPIUz3WOu22uVhMK2Nu/JcVYMjW2xy0mjG9MNv60isnQYO/kDqAF54DgjQms28OFN4+bTFmXC3nC/c/VnIsMj78dKGPp5Q== 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=l2Nq3E7jHUmBvXhRAgotyqnVqTlm0zR2boywoNpH5ow=; b=mT1y2bTVhoDiOaIp9IWq+KwJ1YN+BJACKkv+JTFh1qPyBG63pAYPfjyoK7McgHgNSmnrEhPlC9bqRkz3H20JfLcVG3E6mK0bFBTtG7zl0Cb1hCqAjHoyBsyyNxi2ZHGUz+uC4Ii3n/bqVHxJ8ajdCoHOAREBuys1lUnW8FRA4pM= 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:43 +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:43 +0000 Message-ID: <87bjxlmhhh.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 15/17] ASoC: codecs: arizona: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:42 +0000 X-ClientProxiedBy: TYCP286CA0225.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c5::13) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSYPR01MB5479:EE_ X-MS-Office365-Filtering-Correlation-Id: ea3d4dab-9fd4-4eab-dd89-08dd1824c91b 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: Kd8RFlzgyUAESXeBiyxEMVgYhI7yllnHd7WnrJiPcFj5vdDoUbFxYWcTVRyUozF0m7iPvqfuNZ9bBo4XKEMMwbjIN/yhrCQ9MR3U30y9znsii3CcBmgGzP/u09XoV2Ev60cZqlRdbIRQJ/6jUuxhbXRuk4x12SJ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OxZyyVbd88870wmbKrpnsev85wEkEthFyMfmEzq+T9hYtQG0PKsH1Q+cwdqKHRXWsvfmvD+b29zkswbBZcs8qw+K7fwZdeD0m+ZiFO6GASFUeQOILsEBjZ+sxRdwFn50noS6fJY3/8Jw5ltRaQgPWcx6EwyD43LOwYdFXKCpiRpemJ2+pyaebupXUzVEre37gBTGBx15Ww9ooC05WoqxdOYH9IzQBwCXVDu7alDaCOU8Q1e9kx1PjoqjUx 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: OGBUUxfN0jy044NIMrertdBJ1OGKFe5sLcV4OBQTYTuM0FSHrY23fLLbCr6iz28xEViaWyvbKojOj3bjfLeVJP1i+4mRQCLFFDcLi0hzyRaYeStvoqmNImjgpH4A8QnKbMtTrqjMlwXE1DbHfkODoDCEWLOLHSF6AL06/US/xkYj3kiSBVGYCT9NxHNgEEHnJUClZOR9WV2YH5NagtmOrnupmSnqofJ8/ue60cBVYcQjG7FJN6ySaOw8vx3g2xNwlgf8aGQSOXra4Xu5PXXgbvgHezLHDjrMmv5TLl+H/5QGJ7qFwaDLV4DDGIF2P/ALAXi/OtOs0JUqO4gcihpU0tdOfRReUo23OAmFnEobzRTqfv4yrTS5Rzp4M+wwuTrjdu4hFUvfUzZvzfkQQpUd2mwfnfdWmgGDrAqu0HSt3i6E3jpseAutztcEJc66ySdiFAApoTBbUsTk0fIyme7kn+7f2giaL7NWfMAq34NW+RxGqkWp/j6/kcuUcvsPRn90bjMjUxgLaaEZ3/CLDLdZVNvzcXpdriMNE6Vo8B5BR5IGTrNTCuAGewNAVgGD5wqVWwycBdJV6haeT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-MS-Exchange-CrossTenant-Network-Message-Id: ea3d4dab-9fd4-4eab-dd89-08dd1824c91b 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:42.9660 (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: RbMohRPFElTPcNBO34lsFh+KzbG3bY4L/I0hXti9qSD6vwgxLDyzG39RUJF6j6jjI5jptkwFzs8tQePZC5Kq0lkI+ONFac8EH5GMVU1loAchXDWtb3TGZ6x1DQbOsoik X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSYPR01MB5479 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/arizona.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 402b9a2ff0240..4aa31bc5de504 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -1953,22 +1953,6 @@ static int arizona_dai_set_sysclk(struct snd_soc_dai *dai, return snd_soc_dapm_sync(dapm); } -static int arizona_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - int base = dai->driver->base; - unsigned int reg; - - if (tristate) - reg = ARIZONA_AIF1_TRI; - else - reg = 0; - - return snd_soc_component_update_bits(component, - base + ARIZONA_AIF_RATE_CTRL, - ARIZONA_AIF1_TRI, reg); -} - static void arizona_set_channels_to_mask(struct snd_soc_dai *dai, unsigned int base, int channels, unsigned int mask) @@ -2028,7 +2012,6 @@ const struct snd_soc_dai_ops arizona_dai_ops = { .set_tdm_slot = arizona_set_tdm_slot, .hw_params = arizona_hw_params, .set_sysclk = arizona_dai_set_sysclk, - .set_tristate = arizona_set_tristate, }; EXPORT_SYMBOL_GPL(arizona_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: 13899022 Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010029.outbound.protection.outlook.com [52.101.229.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07FD6215047 for ; Mon, 9 Dec 2024 07:40:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.29 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730050; cv=fail; b=bXQh2E9BXikjBWxSJDlvBepOMAX/DKT+AeMiHCIkLfVMeDhlFJ9B0hbb5S6jMRhDDOIjmNz9FX+JLkvZvUbhlvQI9IIvcREKR9kdd50JXou2HtBvADW2mPyKRT6c393WFGE9G8/B5ZfQDzmJok2AimOHD7/jwB8bSDISNe1NhYQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730050; c=relaxed/simple; bh=LuEWTy/kuY2f34mx0Zfgcikbg9NuqlrBg/ytodLKvt0=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=EaenGp6uvqj97ALYfj0AtSLWSnwzH4n56nheb5BFbJNzv3UEIPDxDA7eNRxzxUriTHr+tejb+Edm874uxjVbH1fLmLCURlEueBj0PyLYP+2hRkyFZkpU2coxePRg6Ifmk0Qb4Mn0zqjZRy/wL0/4QxX2bxT5CEHKkGpBaqideUA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=asKT+RJh; arc=fail smtp.client-ip=52.101.229.29 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|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+D6K47TPdZovx4dgdWH6w3Bn5gakvLTZqpjYv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XUjaa+aiGWnbXyST6vnSaFJ2w9FH/crP0JGsE0ViYwhxg+f9pDsLrA/m6GXaZS3DDLvXEwK3Us 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: 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 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[] = { From patchwork Mon Dec 9 07:40:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13899023 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011018.outbound.protection.outlook.com [40.107.74.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A06D21504E for ; Mon, 9 Dec 2024 07:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.18 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730055; cv=fail; b=mozfPr8WVKIvisgApSnnPDfk95y0EzEnetaiq9MavZv/c7TH4zwwnu93ooZM33SOtBXUzJcrkCntQ6Rglk2pe6zL5UrajH7njXS8sAf8HzNDod7jtlnyWhv+HWf2mNviJkquh/ELQuj1AWg7SXeHUTDuzM1nZfxg+BaJhqMh+pM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730055; c=relaxed/simple; bh=UXYkm+le7EDVFbipIQBVcYl1beJV3VHKlng/UTMJUFg=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=u30Y5t0a4JdCCm9/rrzFaZTeAjui6vIMebrrPWDdZ9EaQcKnAXYCLLsaK4sScsGHvVchpLuY8A+WulISFhFc/+bsqBR0lBdOoJZdbOWzWrbLfp1GArrhCvv+rADKkRD+dKnf05P60LDTIeqvjJ2NqLy5OMMtw7gdZN9mu8xzuP8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=NlY5Ihh1; arc=fail smtp.client-ip=40.107.74.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="NlY5Ihh1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xX1bToSW4mgSZmq/H2gxf6yguJFugUbm9IYWsaBRjJZvhtse+szDNZNnIfil9YiZYitPY9nlhf7pM0hmKAdthU45Puw6MLz0sdmx8X80F29Nre+wYeIoHJtdXdJgeKmy8xPXRJIiK5HY3ij5VHWqZNbZhEMHOF77/yqWtJ0loy/LWOVocGubEgG4ZWgDBE9JVXLmpC7AjZ51HIW84Qtkjcs3fiy/b0XSntHlyuaz0mCGuzei+2Ma1WjBjiw2p2xS1kUE5PZqL1F5Z+t+rXthP7adLpfPeV7Jv6ykS5o3O3r61Hk2Gb22k1hhVL4scxWJrEDTsa4FBSyMuRijrr5i8g== 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=Av+xRgZk/QPYjc2N38/uB9wy1eZCbnHhBo5GHyKiqM0=; b=Euo9wdl4q4IWhujXBb6ApMMAmm2GfzYz/OX2kcOv+sUnHWg96/LRh97VIEJXEUrENOK7b+5GYWNp7fUM8jgI4HM8phvLs8gbSy6hnCRbRDG11L4ADUOtpKM3HnHlAbdBXJ9xtohL2DQi30tSvqa++CkBh/ydaNOvcYsnOWC5M/RsA+REToUh7Ma35FJqjk+tYWlw6M/lFrYSZk+QcWe/FmvSowbw9TuSNJgMYHyffO4pRox28zeuCm6zXHyu27lFv4O98nUg06QuT7304S2zy4o2HcN0DosCVkzVnQzIKmGz2rzh1NB1w8WIWkf3q6LofG5vJHdjORqkne9aFnfpjA== 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=Av+xRgZk/QPYjc2N38/uB9wy1eZCbnHhBo5GHyKiqM0=; b=NlY5Ihh1fhVBZHVAWeAXsRIn/8DRMvHc/MCjgA3DA9DVH0p2YIw3KF5bTHOLTW4QxAb76qHZvmtJrUW8+42uMTnfA+Sh4NzV7b8QR/Bh0GsD9kXj9KFqdIrk3d2v0kyTAXeAzTPtLIybcz32GzbQQZhAOdtFJfCXDznZXc6hJYM= 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:51 +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:51 +0000 Message-ID: <878qspmhh9.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 17/17] ASoC: remove snd_soc_dai_set_tristate() Date: Mon, 9 Dec 2024 07:40:50 +0000 X-ClientProxiedBy: TY2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:404:56::31) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSYPR01MB5479:EE_ X-MS-Office365-Filtering-Correlation-Id: 01583d17-e370-4001-b263-08dd1824cdd8 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: 7j2mSZegQwNJbRsWER75VYQHLMXzUnfvAKBte2LRh8jXf7c1BoJaGFM4/I2/ob2zCkqIh8Y+EKniez6tz37YkwDo4NnzXziUjazXPzWNlKSRBtVStIGWDHdXiNVKYPalxWLm24AMGkuO5scfEC4E4YerjxyBxJ40w9GkA66WRpmaI3BNyR0DciWek/Ijis3lU36PRlUqjnLhoRhvNyPOcVytT55Tq45+5+ulxJsXhYykeawVwM/DqjrxNX91jqPKWv+TPEL/PhxDaLA84sdq6W4D+QCtHnG3fmXBBlzqBdvo1icgGBO9C0g3Ftez99/zX4iaqipW3Rc8MacOFun6f9RZg0OOKVLPNx7I+qnia+ZLrTQnUD8cievYgCAdFy8LoVDnYocnjFrbw59kJJC7d8wEWdOdCbqa9UHnqM1ksdqvtLrAKutV73coF0woX77eob/GzrA3TZCYU3OViUJT33vqr3459OWJqZ1hgfOGknvyCfbCVQynpFqT2mkgB8anjFC1yRQsFr5CMQlc3bPPzmgW40G3tTjux9J/K4o5VvBbqWBlfJ1/dfo2K1IUZjTKaCuRCX54IojCek+dIKdxufR6V4R7q5pGVxd7EEfewPxbsal5fN9Y8WN3FQDMGXhXnsg5GUWFPOvcqBHOhmXdRdA4WpIOcsbJIU8LotCww3bCrO8XJvRnK5hHlHV+8vcyz+SHcXKEKPx1zMYRmdrUqFdatfNl8z6brZ3J7moZPFRcpHW3+KBFWabSXGbeZ67i9q+CWXrCbRO+WuR54nxtbIB+EmBK4RxHPYL4WVprWrI0KuSW64hPDy7jpQq8e1Ie5HAgP12ODu0SE/Cdav7ojqALypz4xwdyj4Vehk1/L7wy6Ooj4qNJk0NymKpiCW0RSP0yDVo9ZkcYBSjw/U+/fxGb6OHiofESit42lrpMx7Cs5umxQSOxa4dkAzhvFSgHBTkXYKszluEMpVyvR6WhUn6FRMrffPfnbtbsAJaCfFODOiK9moU5JDG/xYZpyTyvMkn9j+zmzaPGVAAwIgAtB09+t7cURfOJ+KkFoPvxkLuiKS92772k2acBo0g4wisWTm3/nqjsero/X5u8nxkmAlgwhG9eH9OO6e7YSEWEzlQ+py601R28L0ngpj65n/7O8ItaasyTsx0bhEaaRGlbBYDNJFrngqbBwLo3iiq5K90C1vikPOPT7hk1EXOcnqYPetPsvY12YwLrJp7IuZ1efonOcDQptEJZOnI8l0elFMNQDvQpPyhRSCWbj47x3iHhJWn7msPmKNIqaBwr6i459mhnZgyZ/sl6vJ0ceHWwXtDmvHLlrPE9E8pKoLeIjtUGerHuCB4L/pL/dOhK9YgqMuhktCg4ilylkYeBJQId5rEzq+YxhGtqnfJKR2pXBSB4aURhNLtB4GEMirUOmumxJiO+X2+GgwtUSTJZFgo2Z4YVC1N2l3LJ4IYAsaTLkNAF 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: svNFX9riN5HtQy1sUjukQKpBzCLug8Za4C6ZXlxuwoxRHSbrx103GpHb+RbpX4LASsZSRW53sISW1LQdq8LAXp+CeK+VSCAKE1E0ezMesHz4gbE8ZR3URwCHulLSeBjwH4tBRBsDq5v6qAE74akSKXxVyuf3YSGvzimUBOS75YJNIHhSC/SsFc9Zha+4JIRTLB3p8EYurfY3ndLNJlZb0v7IVRaNamvUeD769zb6BB91N0ESJHD5oNRD/LAnRI2C6nVpgr8/mNXb/LVBXhYbvQlh3mAqf+ErGBxjLLhJYpJxmYCsbBmfExLzaeKsEhBEhRpszvywIKwoLBGAG5Uo5qqo2OJFaWMGHNsoDl8pDEHxNuOh2pTbwYm73hY7LqE5CDvAtg7IIDpr3TkqsviPwztNOLyqt41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cLpMsXfpTj+uV3iCAyH01Tg3l4BsBFDxEujdmm6aJEgF3TImV5UTxQMzneqIDAoQM0VOXltHPF919VIIoY2OjkauNvGHfpUez8MMjdvOTnvA6Nx68jhSvC8WwulWvvfibhw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01583d17-e370-4001-b263-08dd1824cdd8 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:50.8955 (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: ugt7a9pw/dB1HLK9a+Wz2jDgMmdTq4xmqMhT8WtOKh4v47ala4QwFWLGSpCl5M5l0tDQ8g7xXfROuo+8G3NJs6Qe+HF6Dj6k5L9CNqGnUznCT3VGh7o8eojyZjUDKZg/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSYPR01MB5479 snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto --- include/sound/soc-dai.h | 3 --- sound/soc/soc-dai.c | 19 ------------------- 2 files changed, 22 deletions(-) diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index aab57c19f62b2..eeadb636c9f64 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -191,8 +191,6 @@ int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, const unsigned int *tx_slot, unsigned int rx_num, const unsigned int *rx_slot); -int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate); - /* Digital Audio Interface mute */ int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, int direction); @@ -306,7 +304,6 @@ struct snd_soc_dai_ops { int (*get_channel_map)(const struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot); - int (*set_tristate)(struct snd_soc_dai *dai, int tristate); int (*set_stream)(struct snd_soc_dai *dai, void *stream, int direction); diff --git a/sound/soc/soc-dai.c b/sound/soc/soc-dai.c index 34ba1a93a4c95..e42b99f12f0b3 100644 --- a/sound/soc/soc-dai.c +++ b/sound/soc/soc-dai.c @@ -341,25 +341,6 @@ int snd_soc_dai_get_channel_map(const struct snd_soc_dai *dai, } EXPORT_SYMBOL_GPL(snd_soc_dai_get_channel_map); -/** - * snd_soc_dai_set_tristate - configure DAI system or master clock. - * @dai: DAI - * @tristate: tristate enable - * - * Tristates the DAI so that others can use it. - */ -int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - int ret = -EINVAL; - - if (dai->driver->ops && - dai->driver->ops->set_tristate) - ret = dai->driver->ops->set_tristate(dai, tristate); - - return soc_dai_ret(dai, ret); -} -EXPORT_SYMBOL_GPL(snd_soc_dai_set_tristate); - /** * snd_soc_dai_digital_mute - configure DAI system or master clock. * @dai: DAI