Skip to content

Commit

Permalink
ASoC: imx-mc13783 cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Philippe Rétornaz authored and Mark Brown committed May 18, 2012
1 parent 2f7b945 commit cd7dc7a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sound/soc/fsl/imx-mc13783.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ static int imx_mc13783_hifi_hw_params(struct snd_pcm_substream *substream,
struct snd_soc_dai *codec_dai = rtd->codec_dai;
int ret;

ret = snd_soc_dai_set_fmt(codec_dai, FMT_SSI);
if (ret)
return ret;

ret = snd_soc_dai_set_fmt(cpu_dai, FMT_SSI);
if (ret)
return ret;

ret = snd_soc_dai_set_tdm_slot(codec_dai, 0xfffffffc, 0xfffffffc,
4, 16);
if (ret)
Expand Down Expand Up @@ -75,6 +67,7 @@ static struct snd_soc_dai_link imx_mc13783_dai_mc13783[] = {
.platform_name = "imx-pcm-audio.0",
.ops = &imx_mc13783_hifi_ops,
.symmetric_rates = 1,
.dai_fmt = FMT_SSI,
},
};

Expand Down

0 comments on commit cd7dc7a

Please sign in to comment.