projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-5.16' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[platform/kernel/linux-starfive.git]
/
sound
/
soc
/
stm
/
stm32_i2s.c
diff --git
a/sound/soc/stm/stm32_i2s.c
b/sound/soc/stm/stm32_i2s.c
index
68c5de0
..
24327ca
100644
(file)
--- a/
sound/soc/stm/stm32_i2s.c
+++ b/
sound/soc/stm/stm32_i2s.c
@@
-701,7
+701,7
@@
static int stm32_i2s_configure_clock(struct snd_soc_dai *cpu_dai,
if (ret < 0)
return ret;
- nb_bits = frame_len * (
(cgfr & I2S_CGFR_CHLEN
) + 1);
+ nb_bits = frame_len * (
FIELD_GET(I2S_CGFR_CHLEN, cgfr
) + 1);
ret = stm32_i2s_calc_clk_div(i2s, i2s_clock_rate,
(nb_bits * rate));
if (ret)