diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2020-02-14 14:13:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-14 20:51:16 +0000 |
commit | 74a56f2a4a9ec72ef1daceeb2dda8b41370c1419 (patch) | |
tree | 5b037264ee205e3e0fdaec6d56c1c9fa7f3af457 /sound | |
parent | 6e700f0672199f773ad645c2b7e886c1d2e2046e (diff) |
ASoC: meson: aiu: fix acodec dai input name init
Remove the double initialization of the dai input name as reported by
sparse.
Fixes: 65816025d461 ("ASoC: meson: aiu: add internal dac codec control support")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200214131350.337968-5-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/meson/aiu-acodec-ctrl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/meson/aiu-acodec-ctrl.c b/sound/soc/meson/aiu-acodec-ctrl.c index 12d8a4d351a1..b8e88b1a4fc8 100644 --- a/sound/soc/meson/aiu-acodec-ctrl.c +++ b/sound/soc/meson/aiu-acodec-ctrl.c @@ -128,7 +128,6 @@ static const struct snd_soc_dai_ops aiu_acodec_ctrl_output_ops = { #define AIU_ACODEC_INPUT(xname) { \ .name = "ACODEC CTRL " xname, \ - .name = xname, \ .playback = AIU_ACODEC_STREAM(xname, "Playback", 8), \ .ops = &aiu_acodec_ctrl_input_ops, \ .probe = meson_codec_glue_input_dai_probe, \ |