]> 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)
commit444dd9b0601fe5cef4c0e7fa84a650a91191361d
treeb1488912d7b2949ed4f30af1e75622420f7ff4d3
parent6bf0fd362d2944a9a0783d29a0004e67196cb9c7
ASoC: fsl-esai: Revert .xlate_tdm_slot_mask() support

This reverts commit 03eee24de8455a6979fcf7130de6b19218e30f60.

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