alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: am3517evm: Remove unused cpu_dai from hw_params
@ 2012-09-10 12:55 Peter Ujfalusi
  2012-09-11  0:21 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Ujfalusi @ 2012-09-10 12:55 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: Anuj Aggarwal, alsa-devel

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 */
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: am3517evm: Remove unused cpu_dai from hw_params
  2012-09-10 12:55 [PATCH] ASoC: am3517evm: Remove unused cpu_dai from hw_params Peter Ujfalusi
@ 2012-09-11  0:21 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-09-11  0:21 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: Anuj Aggarwal, alsa-devel, Liam Girdwood

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-11  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 12:55 [PATCH] ASoC: am3517evm: Remove unused cpu_dai from hw_params Peter Ujfalusi
2012-09-11  0:21 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).