[alsa-devel] [PATCH] ASoC: am3517evm: Remove unused cpu_dai from hw_params

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Sep 10 14:55:17 CEST 2012

cpu_dai is not in use in this function and just generates warning at
compile time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>


Commit: fca04ae ASoC: am3517evm: Do not configure McBSP1 CLKR/FSR signal muxing
left this line in the code which generates now warning.

This patch is on top of
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/omap


 sound/soc/omap/am3517evm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/omap/am3517evm.c b/sound/soc/omap/am3517evm.c
index a997988..77a8701 100644
--- a/sound/soc/omap/am3517evm.c
+++ b/sound/soc/omap/am3517evm.c
@@ -41,7 +41,6 @@ static int am3517evm_hw_params(struct snd_pcm_substream *substream,
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
 	struct snd_soc_dai *codec_dai = rtd->codec_dai;
-	struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
 	int ret;
 	/* Set the codec system clock for DAC and ADC */

More information about the Alsa-devel mailing list