2020-11-15 18:37:05

by Corentin LABBE

[permalink] [raw]
Subject: [PATCH] x86/defconfigs: enable HDA realtek codec

I have lot of board booting with "hdaudio hdaudioC0D2: Unable to bind the codec".
This is, for all of them, due to missing the HDA realtek codec.

In fact CONFIG_SND_HDA_CODEC_REALTEK was already enabled via commit 5cb04df8d3f0 ("x86: defconfig updates")
but removed later via commit 8b1bb90701f9 ("defconfig reduction")

Anyway, one of those system is part of kernelCI and having
CONFIG_SND_HDA_CODEC_REALTEK back will permit more testing.

Signed-off-by: Corentin Labbe <[email protected]>
---
arch/x86/configs/x86_64_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 9936528e1939..830e4af263a2 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -190,6 +190,7 @@ CONFIG_SND_HRTIMER=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_HDA_INTEL=y
+CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_HIDRAW=y
CONFIG_HID_GYRATION=y
--
2.26.2


2020-11-16 21:59:36

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [PATCH] x86/defconfigs: enable HDA realtek codec

On Sun, Nov 15 2020 at 18:22, Corentin Labbe wrote:
> I have lot of board booting with "hdaudio hdaudioC0D2: Unable to bind the codec".
> This is, for all of them, due to missing the HDA realtek codec.
>
> In fact CONFIG_SND_HDA_CODEC_REALTEK was already enabled via commit 5cb04df8d3f0 ("x86: defconfig updates")
> but removed later via commit 8b1bb90701f9 ("defconfig reduction")
>
> Anyway, one of those system is part of kernelCI and having
> CONFIG_SND_HDA_CODEC_REALTEK back will permit more testing.

Using an overlay to ensure that the bits which are needed by a
particular hardware is working just fine and even allows to do
randconfig testing.

Thanks,

tglx