]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl-esai: Revert .xlate_tdm_slot_mask() support
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 8 Aug 2014 06:47:22 +0000 (14:47 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 13 Aug 2014 18:50:00 +0000 (19:50 +0100)
commit5ccee8dead60ce0779487d30e31f3638499f7264
treeb1488912d7b2949ed4f30af1e75622420f7ff4d3
parent23cab0c56a29c1d49795d031620f0edfc52a5937
ASoC: fsl-esai: Revert .xlate_tdm_slot_mask() support

This reverts commit 5fbac45edc2c5d17085597c38f1ef468d70fb58d.

fsl_asoc_xlate_tdm_slot_mask() is different with snd_soc_xlate_tdm_slot_mask().
fsl_asoc_xlate_tdm_slot_mask() will set the enabled bit to 0, disabled bit
to 1. snd_soc_xlate_tdm_slot_mask() will set the enabled bit to 1, disabled
bit to 0.
For esai when the bit value is 1, the slot is enabled, when the bit value is 0,
the slot is disabled. If using fsl_asoc_xlate_tdm_slot_mask(), the esai will
work abnormally. So revert this patch, make the esai use default function.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/Kconfig
sound/soc/fsl/fsl_esai.c