diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-06-16 11:00:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-16 12:56:09 +0100 |
commit | 928314eb06709e3861ce3e2c7e9ef3f83ba8691b (patch) | |
tree | 6fcafe44b57f0388756d5a8c75fc9e9c09d7f851 /sound/soc/intel/avs/apl.c | |
parent | 08432e59c7d9a958e69cf6b7a03777ba4f26f10b (diff) | |
download | linux-stable-928314eb06709e3861ce3e2c7e9ef3f83ba8691b.tar.gz linux-stable-928314eb06709e3861ce3e2c7e9ef3f83ba8691b.tar.bz2 linux-stable-928314eb06709e3861ce3e2c7e9ef3f83ba8691b.zip |
ASoC: loongson: fix compile testing on 32-bit
DIV_ROUND_CLOSEST() does not work on 64-bit variables when building for
a 32-bit target:
ld.lld: error: undefined symbol: __udivdi3
>>> referenced by loongson_i2s.c
>>> sound/soc/loongson/loongson_i2s.o:(loongson_i2s_hw_params) in archive vmlinux.a
Use DIV_ROUND_CLOSEST_ULL() instead.
Fixes: d24028606e764 ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616090156.2347850-4-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/apl.c')
0 files changed, 0 insertions, 0 deletions