build/patch/kernel/meson64-dev/0021-FROMGIT-ASoC-meson-aiu-remove-unused-encoder-structu.patch
Igor Pečovnik 03f380178d
Moving Meson64 to k5.6.y and u-boot 2020.04 (#1890)
* Move Meson64 to 5.6.y
* Move Meson64 U-boot to 2020.04

Tested on Odroid C2
* Merge, replace and update patches from Khadas branch
2020-04-17 09:07:43 +02:00

36 lines
1.1 KiB
Diff

From 0fcdfa1683d3fcc471860fbd476ac463203add2e Mon Sep 17 00:00:00 2001
From: Jerome Brunet <jbrunet@baylibre.com>
Date: Mon, 17 Feb 2020 02:47:55 +0000
Subject: [PATCH 021/101] FROMGIT: ASoC: meson: aiu: remove unused encoder
structure
Remove an unused structure definition which slipped through the initial
driver submission.
Fixes: 6ae9ca9ce986 ("ASoC: meson: aiu: add i2s and spdif support")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
sound/soc/meson/aiu-encoder-i2s.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/sound/soc/meson/aiu-encoder-i2s.c b/sound/soc/meson/aiu-encoder-i2s.c
index 13bf029086a9..4900e38e7e49 100644
--- a/sound/soc/meson/aiu-encoder-i2s.c
+++ b/sound/soc/meson/aiu-encoder-i2s.c
@@ -28,13 +28,6 @@
#define AIU_CLK_CTRL_MORE_I2S_DIV GENMASK(5, 0)
#define AIU_CODEC_DAC_LRCLK_CTRL_DIV GENMASK(11, 0)
-struct aiu_encoder_i2s {
- struct clk *aoclk;
- struct clk *mclk;
- struct clk *mixer;
- struct clk *pclk;
-};
-
static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component,
bool enable)
{
--
2.17.1