projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca6517
)
ASoC: am3517evm: Remove unused cpu_dai from hw_params
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 12:55:17 +0000
(15:55 +0300)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 11 Sep 2012 03:26:00 +0000
(11:26 +0800)
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>
sound/soc/omap/am3517evm.c
patch
|
blob
|
history
diff --git
a/sound/soc/omap/am3517evm.c
b/sound/soc/omap/am3517evm.c
index
a997988
..
77a8701
100644
(file)
--- 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 */