Message ID | 87plm1mhir.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
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 <linux-sound@vger.kernel.org>; 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?= <nuno.sa@analog.com>, =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= <u.kleine-koenig@baylibre.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, Daniel Mack <daniel@zonque.org>, David Rhodes <david.rhodes@cirrus.com>, Haojian Zhuang <haojian.zhuang@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Lars-Peter Clausen <lars@metafoo.de>, Liam Girdwood <lgirdwood@gmail.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Mark Brown <broonie@kernel.org>, Peter Ujfalusi <peter.ujfalusi@gmail.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Takashi Iwai <tiwai@suse.com>, 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 <kuninori.morimoto.gx@renesas.com> 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() Content-Type: text/plain; charset=US-ASCII 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: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> 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+0B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HoUx77wdi2WGUHc8ZYZhRk8//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/qk3ZY9vXaONsez9AbIT1a7c23DMO6hw53fIOTjizOxXIWum4VNKIftRmDh/4HQ4Cn+IozVhCRB+uIs9ZeHc+zE4NFwYci2YG+olPp3bWVLaTyzF0d8eIS6ek+PsGTZ0UpeLmivC9/D1+U14DR//e7J5B72+0bUvlqE5NjE0UIwbHxn07YdQZXMlb/DEJrtUZITUQGtImrEnZGU6Q+VvuFsr7kP4oojLuy0KSACxA/FoTG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XWjWCSxjVFX+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 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
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[] = {
snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/codecs/cs42l73.c | 10 ---------- 1 file changed, 10 deletions(-)