diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-09-27 02:13:25 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-27 02:18:13 -0400 |
commit | cf1ff5011614cad540fa872b46552d078b510c38 (patch) | |
tree | ff68aaa2604d6b16167dde4244813a7649b23f98 /sound/soc | |
parent | 35e60448b98be847a7066134442789222a1916ea (diff) |
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@suse.de>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | 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 b94af96f2bd7..6658c9440e04 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, | |||
644 | struct snd_pcm_hw_params *params, | 644 | struct snd_pcm_hw_params *params, |
645 | struct snd_soc_dai *dai) | 645 | struct snd_soc_dai *dai) |
646 | { | 646 | { |
647 | size_t i; | 647 | int i; |
648 | struct snd_soc_codec *codec; | 648 | struct snd_soc_codec *codec; |
649 | struct wm8985_priv *wm8985; | 649 | struct wm8985_priv *wm8985; |
650 | u16 blen, srate_idx; | 650 | u16 blen, srate_idx; |