Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 7db08b2c authored by Guenter Roeck's avatar Guenter Roeck Committed by Mark Brown
Browse files

ASoC: amd: use do_div rather than 64 bit division to fix 32 bit builds



ERROR: "__aeabi_uldivmod" [sound/soc/amd/snd-soc-acp-pcm.ko] undefined!

64-bit divides require special operations to avoid build errors on 32-bit
systems.

[Reword the commit message to make it clearer - Alex]

fixes: 61add814 (ASoC: amd: Report accurate hw_ptr during dma)
Signed-off-by: default avatarGuenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/678919


Reviewed-by: default avatarJason Clinton <jclinton@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/681618


Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bdd2a858
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment