Message ID | 87v7vtmhjk.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
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 <linux-sound@vger.kernel.org>; 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 <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 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() Content-Type: text/plain; charset=US-ASCII 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: <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: 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/7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/VUz2ehxBHfn6opO4AMkvylXxIfgghaj32z6ibdqxn+dysgGYNI9x+T+q9m9IMQz2M5qCKFASK4R4HPFN6uYsFReadct0+/TSyHUdoxLGb/+BtKgLh3X4c5G7zI2ZFc2Mbqhpj8Eh0EOTi4XAeIfTThwwS3H+EL9lsMc2bxnPuJAnozJyUQIRl91b9eLFsc1q4VCD15gE151YChLcWOvhkjS6o3MXjXFh7wu8NrJuhNNLSFP53clcL3fByAEqW7h7kH96Dq3IsCqkvG 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: wp531v868xKwukyq5QTqDNCCJgmF2Jg1n+SKZOScQjx1AnUQX7US6NOImYAnLSgUQBMRhtMo0KsU/L6kYWdqednhU482CUFi5Ild2h+a0L6+Xn6wmEtk7Spy1A29bEyNIEKAY6JeWPSIJOKL5UJgo7Sh1nGwoP9kVwx9FeHKCrJJabYq2h8/MU/eeCIqiuosO2RfsKnm1d/bYVkUAYaCBKwqwxIHU7HTIrjrdStHh8MI2h/in6C4YOA3RIS5/29r1w1K9NcuHb8o9a9wnnckU8L6l0XpthFS9KHjA0dZJ02OKQ2XOscfJQU9F/1cTkZDspR6AypkJsdooHo4OdYdUwpCPUOS7QeLoNR5jXNJsoAlqxF346abWsHiOooykhOt7rmL6lbOAJ6kv1t62G+pDZqPAEivTM4txFqQpXUs6uwNS5c79h92cxoWEtyv76tnKHwwfk/FUlO9ewUfRa65CqLFjPAJzwbKjlPk5YR4yCrXMPSz1/nKKzsgqpbWtsnfK5DFz0gDzHPr5aohEQUwbMm1Lnm4sSJfXmdlnpRCJ8fh8MaMFBXNWFXeHW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as.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 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
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 = {
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/pxa/pxa-ssp.c | 21 --------------------- 1 file changed, 21 deletions(-)