Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Mark Brown
ece1e499 f4a43cab

-3
-3
sound/soc/fsl/fsl_ssi.c
··· 1314 1314 if (sprop) { 1315 1315 if (!strcmp(sprop, "ac97-slave")) 1316 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 1319 ssi_private->use_dma = !of_property_read_bool(np,