]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:02 +0000 (21:17 -0600)
commit96a12889871c5a198d6a1d4cb0a94be976efa9e3
treeb1b90d0f78d8d568374868845bb3abddf15acc6e
parent88dd445c91f6360dbfb07b5805ed0ab8fa448cbd
ASoC: fsl-esai: Revert .xlate_tdm_slot_mask() support

This reverts commit a603c8ee526f5ea9ad9b40710308766299ad8a69.

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>
(cherry picked from commit 769091ee18056b3aa35b415d9768fb23f361e598)
sound/soc/fsl/Kconfig