Commit 41d92e0c authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

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: 624e8e00 ("ASoC: rockchip: pdm: fixup pdm fractional div")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 227ab8ba
...@@ -19,6 +19,7 @@ config SND_SOC_ROCKCHIP_PDM ...@@ -19,6 +19,7 @@ config SND_SOC_ROCKCHIP_PDM
tristate "Rockchip PDM Controller Driver" tristate "Rockchip PDM Controller Driver"
depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
select SND_SOC_GENERIC_DMAENGINE_PCM select SND_SOC_GENERIC_DMAENGINE_PCM
select RATIONAL
help help
Say Y or M if you want to add support for PDM driver for Say Y or M if you want to add support for PDM driver for
Rockchip PDM Controller. The Controller supports up to maximum of Rockchip PDM Controller. The Controller supports up to maximum of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment