From: Charles Keepax Date: Thu, 9 Jul 2015 10:28:46 +0000 (+0100) Subject: ASoC: arizona: Use the more idiomatic params_width X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ed68f0a28f96c5127246d1743dd57b58a090f07;p=linux-beck.git ASoC: arizona: Use the more idiomatic params_width Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index a88202d768f4..c246fbd70881 100644 --- a/sound/soc/codecs/arizona.c +++ b/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",