From patchwork Sat Jun 1 22:54:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13682567 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 0AB0B2E419; Sat, 1 Jun 2024 22:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282506; cv=none; b=nIBZGAB8AP1BQlLtdl8Jxfhepod0EyHnLIIPjdmHLTnJpYngpNBdBdzJdQ4Ym9lPHLZ7soqGAYc44i5vn5aQXPxYnOxp9BL095t5d9l/I3UDJGMUrX7/zPGKELVk7q0vBVZ5X5gqzCBkdh1AA9M+8zt1ZQ10vrsjZCyVgCjjWAQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282506; c=relaxed/simple; bh=QNSY4tvFcnrlWXrOTixpAfH09s2dQhFqt9qlP90Pgn0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uQ0p2ZJz9unUpHVYvj+8qYNjlpdg/rhMtX9PVnw8+xnuUJ77K7iNdRecMtCUBpIJbwaRQsBsvgs4BsoKH8fBdU1EStLyAQXJml+lZoSnHcndksC/QvEjthRu/gx9SxaKur3/VvMOmeStW1moPUC6hqrROxG4MjY/qYgOc42MEN8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=BVJQbnfu; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="BVJQbnfu" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=nRcJIf+1327Ly+8LDkevCngx/XaoRpszZ7qr61eLFfc=; b=BVJQbnfuGe4AuHf6 DISGYwh+D3iB6Qa86StIXGTcZz9+C6KZ5ByH6m59t9S0hHGldBISDeRItuLzRsJnZ4oUSeR75pfK3 FQhOGYosMfk6zKa5kg0V/s9+FISubLFU9krYl4M1roZS+DzCnWSM0E4x+qPoNDjavoPZMmxhrPDXu jHcru5r6J3A8RU6y7FSh6cfV0l5YU0dwT1mHlxnMkKDpP/NgTYSAL29VJmYedBNoj+/XkcZHfUMcs hndVPpO82Kx4PH+Cwpiv1JCEgkdHY7qa3rdgSOSUIgzX0m2VM80I0Nc4WZBJK4r57Fe320RWRQ0wE 2V92mpyopI+RXvwMmg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDXcn-003lZO-1h; Sat, 01 Jun 2024 22:54:58 +0000 From: linux@treblig.org To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/3] ASoC: codecs: lpass-rx-macro: remove unused struct 'rx_macro_reg_mask_val' Date: Sat, 1 Jun 2024 23:54:44 +0100 Message-ID: <20240601225446.183505-2-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240601225446.183505-1-linux@treblig.org> References: <20240601225446.183505-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'rx_macro_reg_mask_val' is unused since the original commit af3d54b99764 ("ASoC: codecs: lpass-rx-macro: add support for lpass rx macro"). Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Srinivas Kandagatla --- sound/soc/codecs/lpass-rx-macro.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c index f35187d69cac..dfb7e4c69683 100644 --- a/sound/soc/codecs/lpass-rx-macro.c +++ b/sound/soc/codecs/lpass-rx-macro.c @@ -463,12 +463,6 @@ static const struct comp_coeff_val comp_coeff_table[HPH_MODE_MAX][COMP_MAX_COEFF }, }; -struct rx_macro_reg_mask_val { - u16 reg; - u8 mask; - u8 val; -}; - enum { INTERP_HPHL, INTERP_HPHR, From patchwork Sat Jun 1 22:54:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13682568 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 26FC14F8BB; Sat, 1 Jun 2024 22:55:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282511; cv=none; b=CosrY6yscPXOP+rh5XXcw7GEZy1UYtLCsFkVN/N4at+kurOIr8mCPkPjTgpgjIuUKZ6hwBw+3obXrk2AC7tbiUmxnflKnASCVN0Kx5KwhgJ+ebN1PSMy5OTujtrXIqyKlkmEWPOpF6hlC2WGsVq0texXpLahrRep/2uFOHGuNqo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282511; c=relaxed/simple; bh=KAepm0zVeydI0pRgzEaYJ31b2FrM4Y1N1Yazuuth9OU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I8Dy11cx9BqK8UgdtN2cv3jPJ1FHRt72UoTMrZJQwU9HXhSydcoAuS/kTjre8eRw9T7Vetmm2zZWYLVobd+AKKzEBU2O0aQi1QcmPhTvuxbuxnuyzfybBbj+rLOPal5jrhA135EYRJpxNR7P+zUlmaXTEEB6zOKswdJDSoPzNf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=o+OpDDa6; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="o+OpDDa6" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=zE9JgmmMZ6U8BhzqjST5MxZKepiOun6rHIaYJ4bIKGY=; b=o+OpDDa6V4qYLJVC e4Lj8RsB7K+/fkfUTYprd9loTt4SjWBLUsDYUDmo6FsQ6gLw95ulAvqdt0cLsIgF3NKmOWL0rkuAN WXfUiZw6sW25qXbXVR5UD58vHd/bguts0aG6IuAtvsCc+nokfv+rIck+raKbb1t8H6jCstYIl0yrC wv7Wv6OASYEGUjWwQLE+bLli2nU/wKp8G7LYT/Y9w3XIHzDZeP/jSIRa+PY4LBnxozheqGbWszdcJ 4GkjU+Iwrcla+2fQSkgi8ADhRrrBQAkUNjIDLPGJSwfjTP99oLYdITn1pvt6fHfU4NADvQ+W+Pbcb WS+nnupcsERleIsM6g==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDXcs-003lZO-2V; Sat, 01 Jun 2024 22:55:03 +0000 From: linux@treblig.org To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/3] ASoC: codecs: wm0010: remove unused struct 'wm0010_spi_msg' Date: Sat, 1 Jun 2024 23:54:45 +0100 Message-ID: <20240601225446.183505-3-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240601225446.183505-1-linux@treblig.org> References: <20240601225446.183505-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'wm0010_spi_msg' has been unused since the original commit e3523e01869d ("ASoC: wm0010: Add initial wm0010 DSP driver"). Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Charles Keepax --- sound/soc/codecs/wm0010.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c index 8f862729a2ca..edd2cb185c42 100644 --- a/sound/soc/codecs/wm0010.c +++ b/sound/soc/codecs/wm0010.c @@ -115,14 +115,6 @@ struct wm0010_priv { struct completion boot_completion; }; -struct wm0010_spi_msg { - struct spi_message m; - struct spi_transfer t; - u8 *tx_buf; - u8 *rx_buf; - size_t len; -}; - static const struct snd_soc_dapm_widget wm0010_dapm_widgets[] = { SND_SOC_DAPM_SUPPLY("CLKIN", SND_SOC_NOPM, 0, 0, NULL, 0), }; From patchwork Sat Jun 1 22:54:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13682569 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 05B6C537F8; Sat, 1 Jun 2024 22:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282515; cv=none; b=e6jikervz3bGJvAhrKLuIj4NDnuhLP/YO+lOG62fukVRFGXzZoNSjqWeHPeNRPUHjywTTmJ5qvrjEfa4PqHMEj/PROtqxHaqxHZucoK0suz4kdNCfB4ftjNhjfsJYI2+DDM7j6zNG0w7ZLlnbAQjOROZI1IOFjxywSZKb5BKQLs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717282515; c=relaxed/simple; bh=ecpgpdxBFhv5hbq7XyFUS2efQdjYBNzzM28BA9baArg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rZNyMWKMs7lFhr88Rfr6qnfSiDirmk7AntvwezHV4H1opiWEc15FS0g4H7n7va5C/Q0++kS9Emb3zkI7zog+mmRNY+7qG3MW2yYs/YUMEWSjy4PqSgmoX7qrzWR7EEDOBh88CfR75dIrsyYCOxMqq1gOpLYIwzcqZ5NZnjw2IA4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=jc4cgg1t; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="jc4cgg1t" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=10pbVTdAGHzcOVuExmt1SQ5n+7OnChaUdx77tcWXsVM=; b=jc4cgg1tNUqf8MA8 jp1rKBA2MQRIB1z/j01oZOifsn0h9x9Khu/pBvVYhkadqQVF85bECQ9XZQkrx8Vn4vBckl2hPTFct eUMbIL3AftdP1cLHBGyANPBs8d8IT8oUGI9PwIF5p9RPJf39e29Tw6pE//O1tCComp3c/h51f95X0 iej2zrD+0o1oSA+AsxBFcaGNC4nSFT23dTn1OTUtwyWvxp2rv7MKc9IrnZvnV6bU1NaS3i0NjZQwg UlPdUgJd7myY6bbY9ZCCkneP4i4dIWSYh4d09m29J/VlY7kUbVFC/RJCPMQaUKFkTGUjqd2sWXdTA 0HqX43zm3DzOzJp1lw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sDXcw-003lZO-2w; Sat, 01 Jun 2024 22:55:07 +0000 From: linux@treblig.org To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/3] ASoC: codecs: cx2072x: remove unused struct 'cx2072x_eq_ctrl' Date: Sat, 1 Jun 2024 23:54:46 +0100 Message-ID: <20240601225446.183505-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240601225446.183505-1-linux@treblig.org> References: <20240601225446.183505-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'cx2072x_eq_ctrl' has been unused since the original commit a497a4363706 ("ASoC: Add support for Conexant CX2072X CODEC"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- sound/soc/codecs/cx2072x.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sound/soc/codecs/cx2072x.c b/sound/soc/codecs/cx2072x.c index e8e22b1a1963..8cfec8dcf839 100644 --- a/sound/soc/codecs/cx2072x.c +++ b/sound/soc/codecs/cx2072x.c @@ -63,11 +63,6 @@ static const DECLARE_TLV_DB_SCALE(adc_tlv, -7400, 100, 0); static const DECLARE_TLV_DB_SCALE(dac_tlv, -7400, 100, 0); static const DECLARE_TLV_DB_SCALE(boost_tlv, 0, 1200, 0); -struct cx2072x_eq_ctrl { - u8 ch; - u8 band; -}; - static const DECLARE_TLV_DB_RANGE(hpf_tlv, 0, 0, TLV_DB_SCALE_ITEM(120, 0, 0), 1, 63, TLV_DB_SCALE_ITEM(30, 30, 0)