[alsa-devel] [PATCH] ALSA: x86: Remove CONFIG_SND_X86 as unnecessary
Ian W MORRISON
ianwmorrison at gmail.com
Tue Mar 21 07:24:13 CET 2017
On 21 March 2017 at 16:34, Takashi Iwai <tiwai at suse.de> wrote:
> On Tue, 21 Mar 2017 06:28:07 +0100,
> Ian W MORRISON wrote:
> >
> > Create a specific menu for the CONFIG_HDMI_LPE_AUDIO setting.
> > Add additional narrative to further explain the function of the
> > CONFIG_HDMI_LPE_AUDIO setting.
> > Remove subsequently unnecessary CONFIG_SND_X86 setting.
> >
> > Signed-off-by: Ian W Morrison <linuxium at linuxium.com.au>
> > ---
> > sound/x86/Kconfig | 11 +++--------
> > 1 file changed, 3 insertions(+), 8 deletions(-)
> >
> > diff --git a/sound/x86/Kconfig b/sound/x86/Kconfig
> > index 84c8f8fc..a89d769 100644
> > --- a/sound/x86/Kconfig
> > +++ b/sound/x86/Kconfig
> > @@ -1,10 +1,5 @@
> > -menuconfig SND_X86
> > - tristate "X86 sound devices"
> > - depends on X86
> > - ---help---
> > - X86 sound devices that don't fall under SoC or PCI categories
> > -
> > -if SND_X86
> > +menu "HDMI LPE for SoC audio support"
> > + comment "Required for HDMI audio support on Intel Baytrail and
> > Cherrytrail"
>
> No... This is doubly wrong. First off, the section isn't only about
> LPE audio, but it filters about x86-specific sound devices. Second,
> by your change, it misses the dependency on X86.
>
>
Unfortunately I was trying to simplify things. I reviewed the original
David Henningsson (Canonical) code (see https://github.com/01org/
baytrailaudio/blob/4014095b2a8fe60cd081bfcb0b6b0ecdcb36d1d5/hdmi_audio_
20150319.patch) which is why I lost the X86 dependency. There was never a
filter for x86-specific sound devices before so I assumed it could be
removed as I thought it was created specifically for the HDMI LPE audio
driver and was only adding complexity. As the only door I haven't tried so
far is the one marked 'exit' I'm off there now. This patch can die quietly
as what I was trying to do appears fundamentally unacceptable.
> I wonder whether the tristate of CONFIG_SND_X86 makes something bad
> for Canonical's build. Try to change to bool like below. Does it
> improve the situation?
>
>
> Takashi
>
> -- 8< --
> diff --git a/sound/x86/Kconfig b/sound/x86/Kconfig
> index 84c8f8fc597c..707a8bd1725d 100644
> --- a/sound/x86/Kconfig
> +++ b/sound/x86/Kconfig
> @@ -1,5 +1,5 @@
> menuconfig SND_X86
> - tristate "X86 sound devices"
> + bool "X86 sound devices"
> depends on X86
> ---help---
> X86 sound devices that don't fall under SoC or PCI categories
>
More information about the Alsa-devel
mailing list