diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-09-29 22:25:29 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-30 08:43:03 -0400 |
commit | ece1e4999606fc323aee96a1cdb9b7991c01dd09 (patch) | |
tree | aacbe224a55d829666307671dae526193f36ab41 | |
parent | f4a43caba7d495699f98532b4faee90fd9980732 (diff) |
ASoC: fsl_ssi: Remove unneeded 'i2s-slave' property
There is no need to use 'i2s-slave' property, since master/slave configuration
are passed via machine layer.
This change does not break existing users because they do check for slave
mode inside sound/soc/fsl/mpc8610_hpcd.c/p1022_ds.c/p1022_rdk.c
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 16a1361b68b3..f19224ee5b03 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -1314,9 +1314,6 @@ static int fsl_ssi_probe(struct platform_device *pdev) | |||
1314 | if (sprop) { | 1314 | if (sprop) { |
1315 | if (!strcmp(sprop, "ac97-slave")) | 1315 | if (!strcmp(sprop, "ac97-slave")) |
1316 | ssi_private->dai_fmt = SND_SOC_DAIFMT_AC97; | 1316 | ssi_private->dai_fmt = SND_SOC_DAIFMT_AC97; |
1317 | else if (!strcmp(sprop, "i2s-slave")) | ||
1318 | ssi_private->dai_fmt = SND_SOC_DAIFMT_I2S | | ||
1319 | SND_SOC_DAIFMT_CBM_CFM; | ||
1320 | } | 1317 | } |
1321 | 1318 | ||
1322 | ssi_private->use_dma = !of_property_read_bool(np, | 1319 | ssi_private->use_dma = !of_property_read_bool(np, |