From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Randy Dunlap <rdunlap@infradead.org>,
Nick Crews <ncrews@chromium.org>,
bleung@chromium.org
Cc: linux-kernel@vger.kernel.org, dlaurie@chromium.org,
sfr@canb.auug.org.au, cychiang@chromium.org, broonie@kernel.org,
alsa-devel@alsa-project.org
Subject: Re: [PATCH -next] platform/chrome: Fix Kconfig dependencies for wilco_ec
Date: Mon, 25 Feb 2019 11:11:48 +0100 [thread overview]
Message-ID: <e30adf98-143b-a9fb-3675-c356bdf31ad0@collabora.com> (raw)
In-Reply-To: <9ac9ee8e-cd7a-10e4-e176-428344e980a6@infradead.org>
Hi Randy,
Thanks for the report
On 22/2/19 17:50, Randy Dunlap wrote:
> On 2/20/19 11:57 PM, Enric Balletbo i Serra wrote:
>> Hi,
>>
>> On 21/2/19 0:09, Randy Dunlap wrote:
>>> On 2/20/19 2:11 PM, Nick Crews wrote:
>>>> In the initial version of the Wilco EC Driver, the
>>>> dependency order was wrong. It before was possible to
>>>> select CONFIG_WILCO_EC and CONFIG_CROS_EC_LPC without
>>>> having CONFIG_CROS_EC_LPC_MEC. This was wrong, since
>>>> WILCO_EC depends upon CONFIG CROS_EC_LPC_MEC, not the
>>>> other way around.
>>>>
>>>> Fixes: 1733c32834e5d1 ("platform/chrome: Add new driver for Wilco EC")
>>>> Signed-off-by: Nick Crews <ncrews@chromium.org>
>>>
>>> Reported-by: Randy Dunlap <rdunlap@infradead.org>
>>> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
>>>
>>
>> As this is [-next] material I squashed that commit and queued for 5.1
>
> Hi,
>
> on linux-next of 20190222, I now see this build error + Kconfig warnings:
>
> (this is on i386; randconfig file is attached)
>
> WARNING: unmet direct dependencies detected for SND_SOC_CROS_EC_CODEC
> Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && MFD_CROS_EC [=n]
> Selected by [y]:
> - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y]
This error seems to be introduced by following commit.
commit 74c6ecf4194ebed285b29964a950e0cd7414fe19
Author: Cheng-Yi Chiang <cychiang@chromium.org>
Date: Mon Feb 18 12:18:19 2019 +0800
ASoC: qcom: Kconfig: select dmic for sdm845
sdm845 uses dmic on EC so it should select CROS_EC_CODEC.
Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
The problem is that this commit selects CROS_EC_CODEC but the CROS_EC_CODEC
depends on MFD_CROS_EC which is not selected.
A question for Cheng-Yi, I suppose that the answer is yes but worth ask because
I don't know about this device. Is the sdm845 a chromebook with and embedded
controller right?
Thanks,
Enric
>
> ld: sound/soc/codecs/cros_ec_codec.o: in function `ec_command_no_resp':
> cros_ec_codec.c:(.text+0x50): undefined reference to `cros_ec_cmd_xfer_status'
> ld: sound/soc/codecs/cros_ec_codec.o: in function `mic_gain_get':
> cros_ec_codec.c:(.text+0x5a8): undefined reference to `cros_ec_cmd_xfer_status'
>
>
>
next prev parent reply other threads:[~2019-02-25 10:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 22:11 Nick Crews
2019-02-20 23:09 ` Randy Dunlap
2019-02-21 7:57 ` Enric Balletbo i Serra
2019-02-22 16:50 ` Randy Dunlap
2019-02-25 10:11 ` Enric Balletbo i Serra [this message]
2019-02-25 10:22 ` Cheng-yi Chiang
2019-02-25 12:23 ` Enric Balletbo i Serra
2019-02-25 13:56 ` Cheng-yi Chiang
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=e30adf98-143b-a9fb-3675-c356bdf31ad0@collabora.com \
--to=enric.balletbo@collabora.com \
--cc=alsa-devel@alsa-project.org \
--cc=bleung@chromium.org \
--cc=broonie@kernel.org \
--cc=cychiang@chromium.org \
--cc=dlaurie@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ncrews@chromium.org \
--cc=rdunlap@infradead.org \
--cc=sfr@canb.auug.org.au \
/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
all inboxes | Powered by JetHome®