* tdm slot has to be configured to get sound working on i.MX25
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
config SND_SOC_EUKREA_TLV320
bool "Eukrea TLV320"
- depends on MACH_EUKREA_MBIMX27_BASEBOARD
+ depends on MACH_EUKREA_MBIMX27_BASEBOARD || MACH_EUKREA_MBIMXSD_BASEBOARD
select SND_IMX_SOC
select SND_SOC_TLV320AIC23
help
pr_err("%s: failed setting codec sysclk\n", __func__);
return ret;
}
+ snd_soc_dai_set_tdm_slot(cpu_dai, 0xffffffc, 0xffffffc, 2, 0);
ret = snd_soc_dai_set_sysclk(cpu_dai, IMX_SSP_SYS_CLK, 0,
SND_SOC_CLOCK_IN);
{
int ret;
- if (!machine_is_eukrea_cpuimx27())
+ if (!machine_is_eukrea_cpuimx27() && !machine_is_eukrea_cpuimx25sd())
/* return happy. We might run on a totally different machine */
return 0;