From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
Randy Dunlap <rdunlap@infradead.org>
Cc: linux-s390 <linux-s390@vger.kernel.org>,
ALSA Development Mailing List <alsa-devel@alsa-project.org>,
Linux-sh list <linux-sh@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Mark Brown <broonie@kernel.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [alsa-devel] Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c)
Date: Tue, 6 Nov 2018 08:56:39 -0600 [thread overview]
Message-ID: <eccd20fa-5be3-957d-7905-9cc4021ba94e@linux.intel.com> (raw)
In-Reply-To: <CAMuHMdViTrKqQzci3=YJzk2+kQKqbWcr0oaaR1ZQM_VqT33RvA@mail.gmail.com>
>>>>
>>>> *** ERRORS ***
>>>>
>>>> + /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]: => 8799:3
>>> sh4-all{mod,yes}config
>>>
>>> Looks like d9b84a15892c0233 ("ALSA: hda: Fix implicit definition of
>>> pci_iomap() on SH")
>>> is not sufficient?
>> Different problem. This is about "select":
>>
>> config SND_SOC_ALL_CODECS
>> tristate "Build all ASoC CODEC drivers"
>>
>> That enables (sets):
>> select SND_SOC_HDAC_HDA
>> which selects SND_HDA even though CONFIG_PCI is not enabled.
>>
>> After SND_HDA is selected (above), the Kconfig symbols in
>> sound/pci/hda/Kconfig are available for enabling, so
>> SND_HDA_CODEC_CA0132 is enabled but will not build.
> Thanks for looking into this!
>
>> One simple solution (but possibly too naive) is:
>>
>> ---
>> sound/soc/codecs/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --- lnx-420-rc1.orig/sound/soc/codecs/Kconfig
>> +++ lnx-420-rc1/sound/soc/codecs/Kconfig
>> @@ -82,7 +82,7 @@ config SND_SOC_ALL_CODECS
>> select SND_SOC_ES7241
>> select SND_SOC_GTM601
>> select SND_SOC_HDAC_HDMI
>> - select SND_SOC_HDAC_HDA
>> + select SND_SOC_HDAC_HDA if PCI
>> select SND_SOC_ICS43432
>> select SND_SOC_INNO_RK3036
>> select SND_SOC_ISABELLE if I2C
> I guess that will work. There are already plenty of "select foo if bar" lines.
> However, looking at what else can enable SND_HDA, I think it should be
>
> select SND_SOC_HDAC_HDA if SND_PCI || ARCH_TEGRA
This codec can only be used by the Skylake driver (and the upcoming SOF
one). For Tegra this module will never be used unless they follow the
same path of enabling ASoC to deal with the HDaudio codecs instead of
the legacy.
Likewise HDAC_HDMI will only work on Intel platforms for now.
>
> That still leaves the issue that pci_iomap() on SH should be an empty stub if
> PCI is not available, like on other architectures.
I thought Mark Brown provided a fix to SH maintainers?
next prev parent reply other threads:[~2018-11-06 20:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181105220559.27458-1-geert@linux-m68k.org>
2018-11-05 22:12 ` Build regressions/improvements in v4.20-rc1 Geert Uytterhoeven
2018-11-06 1:04 ` Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) Randy Dunlap
2018-11-06 8:01 ` Geert Uytterhoeven
2018-11-06 14:56 ` Pierre-Louis Bossart [this message]
2018-11-06 15:25 ` [alsa-devel] " Geert Uytterhoeven
2018-11-06 15:46 ` Mark Brown
2018-11-06 16:18 ` Takashi Iwai
2018-11-07 8:44 ` Geert Uytterhoeven
2018-11-07 9:41 ` Takashi Iwai
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=eccd20fa-5be3-957d-7905-9cc4021ba94e@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=rdunlap@infradead.org \
/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).