From: "Philippe Rétornaz" <philippe.retornaz@epfl.ch>
To: broonie@opensource.wolfsonmicro.com
Cc: alsa-devel@alsa-project.org, torbenh@linutronix.de,
sameo@linux.intel.com, s.hauer@pengutronix.de,
philippe.retornaz@epfl.ch, festevam@gmail.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: imx-mc13783 cleanup
Date: Wed, 16 May 2012 12:48:24 +0200 [thread overview]
Message-ID: <1337165304-22686-1-git-send-email-philippe.retornaz@epfl.ch> (raw)
In-Reply-To: <20120515183035.GG19592@opensource.wolfsonmicro.com>
Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
---
sound/soc/fsl/imx-mc13783.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/sound/soc/fsl/imx-mc13783.c b/sound/soc/fsl/imx-mc13783.c
index a7b7170..f59c349 100644
--- 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,
},
};
--
1.7.0.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2012-05-16 10:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 11:53 [PATCH 0/4] MC13783 sound support Philippe Rétornaz
2012-05-15 11:53 ` [PATCH 1/4] mc13xxx: add codec platform data Philippe Rétornaz
2012-05-15 11:53 ` [PATCH 2/4] ASoC: Add mc13783 codec Philippe Rétornaz
2012-05-15 11:53 ` [PATCH 3/4] ASoC: add imx-mc13783 sound support Philippe Rétornaz
2012-05-15 11:53 ` [PATCH 4/4] mx31moboard: Add " Philippe Rétornaz
2012-05-15 18:30 ` [PATCH 3/4] ASoC: add imx-mc13783 " Mark Brown
2012-05-16 10:48 ` Philippe Rétornaz [this message]
2012-05-18 15:45 ` [PATCH] ASoC: imx-mc13783 cleanup Mark Brown
2012-05-15 18:27 ` [PATCH 2/4] ASoC: Add mc13783 codec Mark Brown
2012-05-16 10:49 ` [PATCH] ASoC: mc13783 codec cleanups Philippe Rétornaz
2012-05-18 9:58 ` [PATCH 1/4] mc13xxx: add codec platform data Samuel Ortiz
2012-05-18 15:41 ` [PATCH 0/4] MC13783 sound support Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337165304-22686-1-git-send-email-philippe.retornaz@epfl.ch \
--to=philippe.retornaz@epfl.ch \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=sameo@linux.intel.com \
--cc=torbenh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).