Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece1e499 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarTimur Tabi <timur@tabi.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f4a43cab
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1314,9 +1314,6 @@ static int fsl_ssi_probe(struct platform_device *pdev)
	if (sprop) {
		if (!strcmp(sprop, "ac97-slave"))
			ssi_private->dai_fmt = SND_SOC_DAIFMT_AC97;
		else if (!strcmp(sprop, "i2s-slave"))
			ssi_private->dai_fmt = SND_SOC_DAIFMT_I2S |
				SND_SOC_DAIFMT_CBM_CFM;
	}

	ssi_private->use_dma = !of_property_read_bool(np,