Skip to contentSkip to conversation

ASoC: am3517evm: Remove unused cpu_dai from hw_params

PATCH Applied Peter Ujfalusi 2 participants 2 messages Sep 10, 2012 – Sep 11, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: am3517evm: Remove unused cpu_dai from hw_params

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

---

Hi,

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

Regards,
Peter

 sound/soc/omap/am3517evm.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/omap/am3517evm.c +0 -1
index a997988..77a8701 100644
@@ -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 */
Signature · 1 line
1.7.12
Applied
#1 lore raw
Quoted 2 lines · Peter Ujfalusi

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

Applied, thanks.

Quoted 2 lines

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

Please just include stuff like this in the changelog.