projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8e671
)
ASoC: arizona: Use the more idiomatic params_width
author
Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>
Thu, 9 Jul 2015 10:28:46 +0000
(11:28 +0100)
committer
Mark Brown
<broonie@kernel.org>
Thu, 9 Jul 2015 10:51:43 +0000
(11:51 +0100)
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/arizona.c
b/sound/soc/codecs/arizona.c
index a88202d768f45c3218bdd8fc88f8b86fcfd5948d..c246fbd708817e8ec5a260fc73805fa095d6b53b 100644
(file)
--- 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",