mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
cv1800b_adc_setbclk_div() does four 64-bit divisions in a row, which
is rather inefficient on 32-bit systems, and using the plain division
causes a build failure as a result:
ERROR: modpost: "__aeabi_uldivmod" [sound/soc/sophgo/cv1800b-sound-adc.ko] undefined!
Consolidate those into a single division using the div_u64() macro.
Fixes:
|
||
|---|---|---|
| .. | ||
| cv1800b-sound-adc.c | ||
| cv1800b-sound-dac.c | ||
| cv1800b-tdm.c | ||
| Kconfig | ||
| Makefile | ||