From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: codecs: allow compile testing without MFD drivers
Date: Tue, 30 Aug 2022 13:51:16 +0300 [thread overview]
Message-ID: <34fd836d-56f1-3d88-0571-349aef95fe96@linaro.org> (raw)
In-Reply-To: <Yw3oA6pVp3PMxfA3@sirena.org.uk>
On 30/08/2022 13:35, Mark Brown wrote:
> On Sat, Aug 27, 2022 at 12:02:39PM +0300, Krzysztof Kozlowski wrote:
>
>> True, it's not the same build coverage need as subsystem/interface
>> dependencies, but still:
>> 1. Drivers can be built independently, so why not?
>> 2. There is no drawback in allowing to building them independently
>> (compile test).
>> 3. The parent MFD device could also depend on something (RK817 and
>> MFD_LOCHNAGAR depends on I2C and OF; CPCAP on SPI), so it's not always
>> the case of just enabling parent. IOW, you can compile test codecs
>> without I2C and SPI which is valuable itself.
>
>> I find the last reason actually quite valid and applicable here. If you
>> wish I can add it to the commit msg.
>
> You've already found one case where there's a dependency being
> pulled in by the parent, I suspect there's more. There's a
> tradeoff between getting coverage and having to deal with the
> noise from randconfigs.
Yeah, that was my mistake because did not spot it has "select
REGMAP_I2C". For such cases the benefit is indeed gone.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-08-30 10:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 9:36 [PATCH] ASoC: codecs: allow compile testing without MFD drivers Krzysztof Kozlowski
2022-08-26 18:35 ` Mark Brown
2022-08-27 9:02 ` Krzysztof Kozlowski
2022-08-30 10:35 ` Mark Brown
2022-08-30 10:51 ` Krzysztof Kozlowski [this message]
2022-08-29 13:01 ` Mark Brown
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=34fd836d-56f1-3d88-0571-349aef95fe96@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--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;
as well as URLs for NNTP newsgroup(s).