summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-06-17 13:03:51 +0200
committerMark Brown <broonie@kernel.org>2019-06-17 13:35:21 +0100
commit41d92e0c835bff7dec343bf41e79d24b326d94c1 (patch)
treececd828972d95c76e961c772d8de64d351ba86a1 /sound/soc/rockchip
parent227ab8baa15bdd7a48acfb7b61c52a7a5eb87e72 (diff)
downloadlinux-41d92e0c835bff7dec343bf41e79d24b326d94c1.tar.bz2
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: 624e8e00acaf ("ASoC: rockchip: pdm: fixup pdm fractional div") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r--sound/soc/rockchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig
index 957046ac6c8c..d88555e0c389 100644
--- a/sound/soc/rockchip/Kconfig
+++ b/sound/soc/rockchip/Kconfig
@@ -19,6 +19,7 @@ config SND_SOC_ROCKCHIP_PDM
tristate "Rockchip PDM Controller Driver"
depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
select SND_SOC_GENERIC_DMAENGINE_PCM
+ select RATIONAL
help
Say Y or M if you want to add support for PDM driver for
Rockchip PDM Controller. The Controller supports up to maximum of