]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8810: fix the issue of 64 bits division
authorJohn Hsu <KCHSU0@nuvoton.com>
Fri, 22 Mar 2019 04:25:35 +0000 (12:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2019 12:09:39 +0000 (12:09 +0000)
commit8f13cda3e8b1791e3a295681c3b1718b804c142d
treee1a5efb351713f3c8475e16e9b4a12d41eb5493c
parent038f16c6ef5e69fdcbc1018d61f660cf9375a88c
ASoC: nau8810: fix the issue of 64 bits division

Do division with div_u64 for the PLL calculation.
These errors are fixed and list as follows:
1."__udivdi3" [sound/soc/codecs/snd-soc-nau8810.ko] undefined!
2."__aeabi_uldivmod" [sound/soc/codecs/snd-soc-nau8810.ko] undefined!
3. nau8810.c:(.text.nau8810_calc_pll+0xd8): undefined reference to
`__udivdi3'

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8810.c