aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-04-24 12:23:15 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-12 12:45:34 -0400
commit666c25e3d759dfd33c6df4cd3a26f1bfed65215e (patch)
tree4cf67dbadcf23cf39aefe488ca95cb05718841a1 /sound/soc/mxs
parentf8b24fcbd05bf7a9112812bf6ec60679ae928801 (diff)
ASoC: mxs-sgtl5000: Remove unneeded fields from snd_soc_dai_link
It makes no sense to hardcode the I2C bus into the codec_name field. cpu_dai_name and platform_name are also overwritten later in mxs_sgtl5000_probe_dt(). So remove the three fields, as mxs platform is dt-only platform. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mxs')
-rw-r--r--sound/soc/mxs/mxs-sgtl5000.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index 4f74b051f73a..1b134d72f120 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++ b/sound/soc/mxs/mxs-sgtl5000.c
@@ -90,17 +90,11 @@ static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
90 .name = "HiFi Tx", 90 .name = "HiFi Tx",
91 .stream_name = "HiFi Playback", 91 .stream_name = "HiFi Playback",
92 .codec_dai_name = "sgtl5000", 92 .codec_dai_name = "sgtl5000",
93 .codec_name = "sgtl5000.0-000a",
94 .cpu_dai_name = "mxs-saif.0",
95 .platform_name = "mxs-saif.0",
96 .ops = &mxs_sgtl5000_hifi_ops, 93 .ops = &mxs_sgtl5000_hifi_ops,
97 }, { 94 }, {
98 .name = "HiFi Rx", 95 .name = "HiFi Rx",
99 .stream_name = "HiFi Capture", 96 .stream_name = "HiFi Capture",
100 .codec_dai_name = "sgtl5000", 97 .codec_dai_name = "sgtl5000",
101 .codec_name = "sgtl5000.0-000a",
102 .cpu_dai_name = "mxs-saif.1",
103 .platform_name = "mxs-saif.1",
104 .ops = &mxs_sgtl5000_hifi_ops, 98 .ops = &mxs_sgtl5000_hifi_ops,
105 }, 99 },
106}; 100};