diff options
author | fang hui <hui.fang@nxp.com> | 2017-03-22 13:40:55 +0800 |
---|---|---|
committer | Nat Jeffries <njeff@google.com> | 2017-03-24 10:13:49 -0700 |
commit | 90fc0c70e2859476b9e0bcf0b3a7530291750ffa (patch) | |
tree | 82c124667b25800f8d7e07b4b5eb40b346d68c4f | |
parent | 8a986704274c7d9fd966fffaba197ec5680502f0 (diff) | |
download | imx-v4.1-90fc0c70e2859476b9e0bcf0b3a7530291750ffa.tar.gz |
Set cpu as master of SAI
Change-Id: I7c1531488ff0116cd9feaffda4799ff1230eff24
Signed-off-by: fang hui <hui.fang@nxp.com>
(cherry picked from commit ed67ac993920b0f8e23948194b0a7f234a86cab5)
-rw-r--r-- | sound/soc/fsl/imx-xtor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-xtor.c b/sound/soc/fsl/imx-xtor.c index be66176c4878..472ae2a1600b 100644 --- a/sound/soc/fsl/imx-xtor.c +++ b/sound/soc/fsl/imx-xtor.c @@ -72,7 +72,7 @@ static int imx_xtor_hw_params(struct snd_pcm_substream *substream, ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | - SND_SOC_DAIFMT_CBM_CFM); + SND_SOC_DAIFMT_CBS_CFS); if (ret) { dev_err(dev, "failed to set cpu dai fmt: %d\n", ret); return ret; @@ -197,7 +197,7 @@ static int imx_xtor_probe(struct platform_device *pdev) data->dai[0].capture_only = false; data->dai[0].dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | - SND_SOC_DAIFMT_CBM_CFM; + SND_SOC_DAIFMT_CBS_CFS; data->card.num_links = 1; data->card.dai_link = data->dai; |