summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-07-09 12:28:46 +0200
committerMark Brown <broonie@kernel.org>2015-07-09 12:51:43 +0200
commit5ed68f0a28f96c5127246d1743dd57b58a090f07 (patch)
tree21eb20fe2503f6f6b353f0b47d67bde628cfec6c /sound
parentASoC: arizona: Implement stability check for LHPF coefficients (diff)
downloadlinux-5ed68f0a28f96c5127246d1743dd57b58a090f07.tar.xz
linux-5ed68f0a28f96c5127246d1743dd57b58a090f07.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
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",