diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-03-25 11:51:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-26 13:43:54 -0400 |
commit | 8b573c95d7bd1cf28c69ab4e0255cd272d214482 (patch) | |
tree | cbb24d357d6815923b5cf884ebd904b8c1478d4e | |
parent | a0b1550677a4449a57a32ebc167cba552da9871e (diff) |
ASoC: imx: remove superfluous code in imx-ssi.c
Checking if IMX_SSI_DMA is set and then set it again is useless.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | 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 bc92ec620004..c331d65587d8 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) | |||
667 | if (res) | 667 | if (res) |
668 | ssi->dma_params_rx.dma = res->start; | 668 | ssi->dma_params_rx.dma = res->start; |
669 | 669 | ||
670 | if ((cpu_is_mx27() || cpu_is_mx21()) && | ||
671 | !(ssi->flags & IMX_SSI_USE_AC97) && | ||
672 | (ssi->flags & IMX_SSI_DMA)) { | ||
673 | ssi->flags |= IMX_SSI_DMA; | ||
674 | } | ||
675 | |||
676 | platform_set_drvdata(pdev, ssi); | 670 | platform_set_drvdata(pdev, ssi); |
677 | 671 | ||
678 | ret = snd_soc_register_dai(&pdev->dev, dai); | 672 | ret = snd_soc_register_dai(&pdev->dev, dai); |