[alsa-devel] [PATCH v2] ALSA: x86: Select CONFIG_HDMI_LPE_AUDIO as default
Takashi Iwai
tiwai at suse.de
Mon Mar 20 08:59:33 CET 2017
On Mon, 20 Mar 2017 08:42:32 +0100,
Ian W MORRISON wrote:
>
> The upstream kernel builds for distributions such as Ubuntu which now
> includes binary packages for v4.11 mainline kernel release candidates are
> promoted as a way of testing upstream kernels to to confirm that upstream
> has fixed a specific issue (see https://wiki.ubuntu.com/
> Kernel/MainlineBuilds).
>
> Unfortunately the long awaited patch for providing HDMI audio support for
> Bay Trail and Cherry Trail devices does not include this support through a
> module built by default.
>
> Through including by default of the two associated CONFIG settings (SND_X86
> and HDMI_LPE_AUDIO), upstream kernel builds would automatically provide the
> much desired HDMI audio support by default.
>
> This patch uses a Kconfig 'default' statement to include the driver as
> default.
>
> Changes in version 2: CONFIG_SND_X86 now a bool and changed default m to
> default y
>
> Signed-off-by: Ian W Morrison <linuxium at linuxium.com.au>
> ---
> sound/x86/Kconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/sound/x86/Kconfig b/sound/x86/Kconfig
> index 84c8f8fc..cac2270 100644
> --- a/sound/x86/Kconfig
> +++ b/sound/x86/Kconfig
> @@ -1,6 +1,7 @@
> menuconfig SND_X86
> - tristate "X86 sound devices"
> + bool "X86 sound devices"
> depends on X86
> + default y
This one is OK, but ...
> ---help---
> X86 sound devices that don't fall under SoC or PCI categories
>
> @@ -9,6 +10,7 @@ if SND_X86
> config HDMI_LPE_AUDIO
> tristate "HDMI audio without HDaudio on Intel Atom platforms"
> depends on DRM_I915
> + default y
... this is wrong. Each driver config itself should be left
unspecified.
It's distributor's job to choose the right config here.
Takashi
More information about the Alsa-devel
mailing list