diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-03-21 07:17:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-25 14:06:43 +0100 |
commit | a603c8ee526f5ea9ad9b40710308766299ad8a69 (patch) | |
tree | 7cd900ebcc2485254ba501bf503307499b9e5658 /sound/soc/fsl/fsl_esai.c | |
parent | ASoC: fsl-utils: Add fsl_asoc_xlate_tdm_slot_mask() support. (diff) | |
download | linux-a603c8ee526f5ea9ad9b40710308766299ad8a69.tar.xz linux-a603c8ee526f5ea9ad9b40710308766299ad8a69.zip |
ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support.
This patch add .xlate_tdm_slot_mask support for ESAI, and this will
generate the TDM slot TX and RX masks.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_esai.c')
-rw-r--r-- | sound/soc/fsl/fsl_esai.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index 0ba37005ab04..c8e5db1414d7 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -18,6 +18,7 @@ #include "fsl_esai.h" #include "imx-pcm.h" +#include "fsl_utils.h" #define FSL_ESAI_RATES SNDRV_PCM_RATE_8000_192000 #define FSL_ESAI_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ @@ -581,6 +582,7 @@ static struct snd_soc_dai_ops fsl_esai_dai_ops = { .hw_params = fsl_esai_hw_params, .set_sysclk = fsl_esai_set_dai_sysclk, .set_fmt = fsl_esai_set_dai_fmt, + .xlate_tdm_slot_mask = fsl_asoc_xlate_tdm_slot_mask, .set_tdm_slot = fsl_esai_set_dai_tdm_slot, }; |