lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301068306-11997-4-git-send-email-w.sang@pengutronix.de>
Date:	Fri, 25 Mar 2011 16:51:46 +0100
From:	Wolfram Sang <w.sang@...gutronix.de>
To:	alsa-devel@...a-project.org
Cc:	Sascha Hauer <s.hauer@...gutronix.de>,
	Wolfram Sang <w.sang@...gutronix.de>,
	Liam Girdwood <lrg@...mlogic.co.uk> (supporter:SOUND - SOC LAYER...
	,commit_signer:9/19=47%),
	Mark Brown <broonie@...nsource.wolfsonmicro.com> (supporter:SOUND -
	SOC LAYER...,commit_signer:9/19=47%),
	Jaroslav Kysela <perex@...ex.cz> (maintainer:SOUND),
	Takashi Iwai <tiwai@...e.de> (maintainer:SOUND),
	Timur Tabi <timur@...escale.com> (commit_signer:2/19=11%),
	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de> (commit_signer:2/19=11%),
	linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 3/3] 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@...gutronix.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ