[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <03c70038-4ec7-c218-fb85-feda40c3dcd3@linux.intel.com>
Date: Wed, 29 May 2019 14:00:50 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Randy Dunlap <rdunlap@...radead.org>,
kbuild test robot <lkp@...el.com>,
Bard liao <yung-chuan.liao@...ux.intel.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>,
Sathya Prakash M R <sathya.prakash.m.r@...el.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>
Subject: Re: ERROR: "hdac_hdmi_jack_port_init"
[sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined!
On 5/29/19 12:54 PM, Randy Dunlap wrote:
> On 5/28/19 2:54 AM, kbuild test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: cd6c84d8f0cdc911df435bb075ba22ce3c605b07
>> commit: f70abd75b7c6c04d3219d0b3a0f3f15411b042fb ASoC: Intel: add sof-rt5682 machine driver
>> date: 4 weeks ago
>> config: x86_64-randconfig-b005272310-05281357 (attached as .config)
>> compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
>> reproduce:
>> git checkout f70abd75b7c6c04d3219d0b3a0f3f15411b042fb
>> # save the attached .config to linux build tree
>> make ARCH=x86_64
>>
>> If you fix the issue, kindly add following tag
>> Reported-by: kbuild test robot <lkp@...el.com>
>>
>> All errors (new ones prefixed by >>):
>>
>>>> ERROR: "hdac_hdmi_jack_port_init" [sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined!
>>>> ERROR: "hdac_hdmi_jack_init" [sound/soc/intel/boards/snd-soc-sof_rt5682.ko] undefined!
>
> Confirmed on 5.2-rc2.
fixed yesterday by patch "ASoC: Intel: sof-rt5682: fix undefined
references with Baytrail-only support", already merged by Mark.
>
> Needs CONFIG_SND_SOC_HDAC_HDMI to be set for those functions to be built.
>
> CONFIG_SND_SOC_SOF_BAYTRAIL=m
> CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH=m
>
> CONFIG_SND_SOC_SOF_HDA_COMMON is not set; the "select ... if" in the middle
> [<<<<<<<<<<] of this Kconfig entry is preventing SND_SOC_HDAC_HDMI from being set:
>
> if SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
> config SND_SOC_INTEL_SOF_RT5682_MACH
> tristate "SOF with rt5682 codec in I2S Mode"
> depends on I2C && ACPI
> depends on (SND_SOC_SOF_HDA_COMMON && MFD_INTEL_LPSS) ||\
> (SND_SOC_SOF_BAYTRAIL && X86_INTEL_LPSS)
> select SND_SOC_RT5682
> select SND_SOC_DMIC
> select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_COMMON <<<<<<<<<<
> help
> This adds support for ASoC machine driver for SOF platforms
> with rt5682 codec.
> Say Y if you have such a device.
> If unsure select "N".
> endif ## SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
>
>
>
>
Powered by blists - more mailing lists