diff options
author | Samuel Holland <samuel@sholland.org> | 2020-08-30 22:48:44 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-07 13:59:55 +0100 |
commit | b8cbb1cab70342756725c1beded6b81031a95762 (patch) | |
tree | 904577442ec8175c292ed2f3f521c900907990e0 /sound/soc/sunxi | |
parent | 1b3c63acb1e52d5af04b99b9b784ff3775c63313 (diff) | |
download | linux-stable-b8cbb1cab70342756725c1beded6b81031a95762.tar.gz linux-stable-b8cbb1cab70342756725c1beded6b81031a95762.tar.bz2 linux-stable-b8cbb1cab70342756725c1beded6b81031a95762.zip |
ASoC: sun8i-codec: Remove extraneous widgets
This driver is for the digital part of the codec only. The analog part,
including the microphone inputs, is managed by a separate driver. These
widgets look like they were copied from sun4i-codec. Since they do not
perform any function in this driver, remove them.
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20200831034852.18841-2-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi')
-rw-r--r-- | sound/soc/sunxi/sun8i-codec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c index e3a1347d7ecd..52ef0f9ec79e 100644 --- a/sound/soc/sunxi/sun8i-codec.c +++ b/sound/soc/sunxi/sun8i-codec.c @@ -455,10 +455,6 @@ static const struct snd_soc_dapm_widget sun8i_codec_dapm_widgets[] = { SUN8I_MOD_RST_CTL_DAC, 0, NULL, 0), SND_SOC_DAPM_SUPPLY("RST ADC", SUN8I_MOD_RST_CTL, SUN8I_MOD_RST_CTL_ADC, 0, NULL, 0), - - SND_SOC_DAPM_MIC("Headset Mic", NULL), - SND_SOC_DAPM_MIC("Mic", NULL), - }; static const struct snd_soc_dapm_route sun8i_codec_dapm_routes[] = { |