Re: [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 14, 2019 at 02:02:12PM -0700, Alyssa Rosenzweig wrote:
> Without the appropriate DMA controller selected, the RK3399 audio
> drivers compile but fail immediately. Accordingly, selecting the RK3399
> audio without the corresponding PL330 controller is an invalid
> configuration. Prevent errors (otherwise forcing the driver to unload at
> runtime)  by an appropriate `select` directive in the Kconfig.

This breaks the build as it enables CONFIG_PL330 but that depends on
AMBA which isn't selected so we end up with:

ld: drivers/dma/pl330.o: in function `pl330_driver_init':
pl330.c:(.init.text+0x8): undefined reference to `amba_driver_register'
ld: drivers/dma/pl330.o: in function `pl330_driver_exit':
pl330.c:(.exit.text+0x8): undefined reference to `amba_driver_unregister'
make: *** [Makefile:1029: vmlinux] Error 1

in my test configs.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux