[alsa-devel] ASoC updates for 2.6.37

Takashi Iwai tiwai at suse.de
Mon Sep 27 08:20:19 CEST 2010


At Sun, 26 Sep 2010 17:24:30 -0700,
Mark Brown wrote:
> 
> The following changes since commit 3e13f65e3aa51fc7009afc554683a0b182c057f5:
> 
>   ASoC: adapt multi-componentism again (2010-09-23 07:41:37 +0200)
> 
> are available in the git repository at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git for-2.6.37
> 
> Dimitris Papastamos (3):
>       ASoC: Delegate to hw specific read for volatile registers
>       ASoC: Fix incorrect parameter to snd_soc_codec_volatile_register
>       ASoC: WM8985: Remove unneeded declaration.
> 
> Mark Brown (8):
>       ASoC: Remove unneeded WM9713 header include from SMDK WM9713 driver
>       ASoC: Clarify naming for SMDK WM9713 driver
>       ASoC: Clean up the CODEC device as well as the board for SMDK WM9713
>       ASoC: Convert s3c-ac97 to pr_() macros
>       ASoC: Add debug logging for s3c-ac97 resets
>       ASoC: Clean up AC'97 glue driver
>       ASoC: Add Jassi Brar as Samsung maintainer
>       Merge branch 'for-2.6.36' into for-2.6.37

Pulled now.
I got a compile warning, and fixed manually with the patch below
(applied to topic/asoc branch).


thanks,

Takashi

===
From cf1ff5011614cad540fa872b46552d078b510c38 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai at suse.de>
Date: Mon, 27 Sep 2010 08:13:25 +0200
Subject: [PATCH] ASoC: Fix a compile warning for printk format

  sound/soc/codecs/wm8985.c: In function 'wm8985_hw_params':
  sound/soc/codecs/wm8985.c:731:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

Actually the variable is fine as int.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 sound/soc/codecs/wm8985.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index b94af96..6658c94 100644
--- a/sound/soc/codecs/wm8985.c
+++ b/sound/soc/codecs/wm8985.c
@@ -644,7 +644,7 @@ static int wm8985_hw_params(struct snd_pcm_substream *substream,
 			    struct snd_pcm_hw_params *params,
 			    struct snd_soc_dai *dai)
 {
-	size_t i;
+	int i;
 	struct snd_soc_codec *codec;
 	struct wm8985_priv *wm8985;
 	u16 blen, srate_idx;
-- 
1.7.2.2



More information about the Alsa-devel mailing list