[PATCH] ASoC: Intel: Skylake: Compile when any configuration is selected

Cezary Rojewski cezary.rojewski at intel.com
Tue Feb 2 11:12:01 CET 2021


On 2021-02-02 6:52 AM, Kai-Heng Feng wrote:
> On Wed, Jan 27, 2021 at 11:22 PM Cezary Rojewski
> <cezary.rojewski at intel.com> wrote:
>>

...

>>
>>   From the logs you've provided one can see that snd_soc_skl did attempt
>> to probe() so the code compiled just fine. Again, compilation issue is
>> the one I've addressed here. While we're here, I'd appreciate kconfig
>> being provided along dmesg file. Logs alone do not show the entire
>> picture, unfortunately.
> 
> Config file here:
> https://pastebin.ubuntu.com/p/kGBv6XgHms/

Thank you for the config, Yang.

>>
>> In regard to missing sound, (looks like we're talking about HDA dsp +
>> DMIC configuration) kconfig mentioned above will be required. Pretty
>> sure HDAudio support for skylake-driver is not enabled on your machine
>> and thus driver exists probe() early without registering any sound card.
> 
> Do you mean CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needs to be enabled?

Indeed.

Below are the options required to enable HDA-dsp + DMIC configuration:
(first navigate to:)
-> Device Drivers -> Sound card support -> ALSA

-> HD-Audio
--> HD Audio PCI
--> Build Realtek HD-audio codec support
--> Build HDMI/DisplayPort HD-audio codec support

-> ASoC
--> Intel ASoC SST drivers
--> Skylake Platforms
--> Kabylake Platforms
--> Broxton/ApolloLake Platforms
--> HDAudio codec support

--> Intel Machine drivers
---> DMIC machine board driver
---> SKL/KBL/BXT/APL with HDA codecs

Let me know how the situation looks with these set.

Regards,
Czarek


More information about the Alsa-devel mailing list