projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7b945
)
ASoC: imx-mc13783 cleanup
author
Philippe Rétornaz
<
[email protected]
>
Wed, 16 May 2012 10:48:24 +0000
(12:48 +0200)
committer
Mark Brown
<
[email protected]
>
Fri, 18 May 2012 15:42:23 +0000
(16:42 +0100)
Signed-off-by: Philippe Rétornaz <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/fsl/imx-mc13783.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-mc13783.c
b/sound/soc/fsl/imx-mc13783.c
index a7b717004e4e2a5d75ef148d061094cace767390..f59c34943662c8e11a4c51b3d99984b8ac1ebae4 100644
(file)
--- a/
sound/soc/fsl/imx-mc13783.c
+++ b/
sound/soc/fsl/imx-mc13783.c
@@
-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)
@@
-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,
},
};