Browse Source

ASoC: arizona: Use the more idiomatic params_width

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Charles Keepax 10 years ago
parent
commit
5ed68f0a28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/arizona.c

+ 1 - 1
sound/soc/codecs/arizona.c

@@ -1504,7 +1504,7 @@ static int arizona_hw_params(struct snd_pcm_substream *substream,
 	else
 		rates = &arizona_48k_bclk_rates[0];
 
-	wl = snd_pcm_format_width(params_format(params));
+	wl = params_width(params);
 
 	if (tdm_slots) {
 		arizona_aif_dbg(dai, "Configuring for %d %d bit TDM slots\n",