From: Wolfram Sang <w.sang@pengutronix.de>
To: alsa-devel@alsa-project.org
Cc: "Sascha Hauer" <s.hauer@pengutronix.de>,
"Wolfram Sang" <w.sang@pengutronix.de>,
"Liam Girdwood" <lrg@slimlogic.co.uk>,
"Mark Brown" <broonie@opensource.wolfsonmicro.com>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.de>,
"Timur Tabi" <timur@freescale.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"open list" <linux-kernel@vger.kernel.org>
Subject: [PATCH 3/3] ASoC: imx: remove superfluous code in imx-ssi.c
Date: Fri, 25 Mar 2011 16:51:46 +0100 [thread overview]
Message-ID: <1301068306-11997-4-git-send-email-w.sang@pengutronix.de> (raw)
In-Reply-To: <1301068306-11997-1-git-send-email-w.sang@pengutronix.de>
Checking if IMX_SSI_DMA is set and then set it again is useless.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
sound/soc/imx/imx-ssi.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/sound/soc/imx/imx-ssi.c b/sound/soc/imx/imx-ssi.c
index bc92ec6..c331d65 100644
--- a/sound/soc/imx/imx-ssi.c
+++ b/sound/soc/imx/imx-ssi.c
@@ -667,12 +667,6 @@ static int imx_ssi_probe(struct platform_device *pdev)
if (res)
ssi->dma_params_rx.dma = res->start;
- if ((cpu_is_mx27() || cpu_is_mx21()) &&
- !(ssi->flags & IMX_SSI_USE_AC97) &&
- (ssi->flags & IMX_SSI_DMA)) {
- ssi->flags |= IMX_SSI_DMA;
- }
-
platform_set_drvdata(pdev, ssi);
ret = snd_soc_register_dai(&pdev->dev, dai);
--
1.7.2.5
next prev parent reply other threads:[~2011-03-25 15:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-25 15:51 [PATCH 0/3] Fix breakages due to recent updates Wolfram Sang
2011-03-25 15:51 ` [PATCH 1/3] ASoC: imx: set watermarks for mx2-dma Wolfram Sang
2011-03-26 11:42 ` Liam Girdwood
2011-03-25 15:51 ` [PATCH 2/3] ASoC: imx: fix burstsize for DMA Wolfram Sang
2011-03-26 11:42 ` Liam Girdwood
2011-03-25 15:51 ` Wolfram Sang [this message]
2011-03-26 11:42 ` [PATCH 3/3] ASoC: imx: remove superfluous code in imx-ssi.c Liam Girdwood
2011-03-26 17:35 ` [PATCH 0/3] Fix breakages due to recent updates Mark Brown
2011-03-26 17:40 ` Wolfram Sang
2011-03-26 17:42 ` 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=1301068306-11997-4-git-send-email-w.sang@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
--cc=perex@perex.cz \
--cc=s.hauer@pengutronix.de \
--cc=timur@freescale.com \
--cc=tiwai@suse.de \
--cc=u.kleine-koenig@pengutronix.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).