ASoC: am3517evm: Remove unused cpu_dai from hw_params
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.
Signed-off-by Peter Ujfalusi <[email protected]>
---
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 ofgit://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
@@ -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
Mark Brown
AppliedQuoted 2 lines · Peter Ujfalusi
cpu_daiis 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.