From: Mark Brown <broonie@kernel.org>
To: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: alsa-devel@alsa-project.org, Heiko Stuebner <heiko@sntech.de>,
Takashi Iwai <tiwai@suse.com>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio
Date: Tue, 16 Apr 2019 17:27:35 +0100 [thread overview]
Message-ID: <20190416162735.GI4834@sirena.org.uk> (raw)
In-Reply-To: <20190414210212.2144-1-alyssa@rosenzweig.io>
[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]
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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2019-04-16 16:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-14 21:02 [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio Alyssa Rosenzweig
2019-04-16 16:27 ` Mark Brown [this message]
[not found] ` <20190416162735.GI4834-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2019-04-16 16:34 ` Alyssa Rosenzweig
2019-04-16 16:37 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2019-03-24 6:24 Alyssa Rosenzweig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190416162735.GI4834@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=alyssa@rosenzweig.io \
--cc=heiko@sntech.de \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox