]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: pdm: select CONFIG_RATIONAL
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2019 11:03:51 +0000 (13:03 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 12:35:21 +0000 (13:35 +0100)
commit7952cb0748e0820e0c7e6f4cb720bc7d36d172e4
treececd828972d95c76e961c772d8de64d351ba86a1
parent4bdb77c1edd053daf44d4441a88ed0884d2269ca
ASoC: rockchip: pdm: select CONFIG_RATIONAL

Without this, we get a link error:

sound/soc/rockchip/rockchip_pdm.o: In function `rockchip_pdm_hw_params':
rockchip_pdm.c:(.text+0x754): undefined reference to `rational_best_approximation'

Fixes: a292784301f2 ("ASoC: rockchip: pdm: fixup pdm fractional div")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/Kconfig