ASoC: fsl_asrc_m2m: select CONFIG_DMA_SHARED_BUFFER
authorArnd Bergmann <arnd@arndb.de>
Wed, 22 Jan 2025 06:53:17 +0000 (07:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jan 2025 14:09:26 +0000 (14:09 +0000)
commita2cd92185db0586f2136feae84d98cc54580f381
tree0f7c7b9e629496970fc288a278de105a6ccb71c5
parente935f903ab9bee43f3375883c230a32138ae3d1d
ASoC: fsl_asrc_m2m: select CONFIG_DMA_SHARED_BUFFER

Randconfig builds without dmabuf result in this link error from
the fasl-asrc driver:

ERROR: modpost: "dma_buf_put" [sound/core/snd-compress.ko] undefined!
ERROR: modpost: "dma_buf_export" [sound/soc/fsl/snd-soc-fsl-asrc.ko] undefined!

Add the missing 'select' statement.

Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://patch.msgid.link/20250122065330.1423248-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig