mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5f8e671a49
commit
5ed68f0a28
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue