[alsa-devel] [PATCH] 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 peter.ujfalusi@ti.com ---
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(-)
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 */
On Mon, Sep 10, 2012 at 03:55:17PM +0300, Peter Ujfalusi wrote:
cpu_dai is not in use in this function and just generates warning at compile time.
Applied, thanks.
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.
participants (2)
-
Mark Brown
-
Peter Ujfalusi