Skip to content

Commit

Permalink
ASoC: am3517evm: Remove unused cpu_dai from hw_params
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Sep 11, 2012
1 parent 1ca6517 commit 1867b2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/omap/am3517evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1867b2c

Please sign in to comment.