]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: mxs-sgtl5000: Remove unneeded fields from snd_soc_dai_link
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 24 Apr 2013 16:23:15 +0000 (13:23 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 12 May 2013 16:45:34 +0000 (20:45 +0400)
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>
sound/soc/mxs/mxs-sgtl5000.c

index 4f74b051f73a8f468bea4da0b80269beb6097e1f..1b134d72f120a60b5956032986b964c6f659ab0e 100644 (file)
@@ -90,17 +90,11 @@ static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
                .name           = "HiFi Tx",
                .stream_name    = "HiFi Playback",
                .codec_dai_name = "sgtl5000",
-               .codec_name     = "sgtl5000.0-000a",
-               .cpu_dai_name   = "mxs-saif.0",
-               .platform_name  = "mxs-saif.0",
                .ops            = &mxs_sgtl5000_hifi_ops,
        }, {
                .name           = "HiFi Rx",
                .stream_name    = "HiFi Capture",
                .codec_dai_name = "sgtl5000",
-               .codec_name     = "sgtl5000.0-000a",
-               .cpu_dai_name   = "mxs-saif.1",
-               .platform_name  = "mxs-saif.1",
                .ops            = &mxs_sgtl5000_hifi_ops,
        },
 };