• Mark Brown's avatar
    ALSA: Build jack detection · 0d94e41a
    Mark Brown authored
    Since jack detection requires the input subsystem which may not be
    desired on small systems it is not built unless required by a driver
    that is being built. Drivers using jack detection should use a pattern
    like this:
    
    config SND_FOO
            tristate "..."
            ...
            select SND_JACK if INPUT=y || INPUT=SND
    
    to ensure that the jack detection API is enabled if the input subsystem
    is.  If the input subsystem is not enabled then a stub version of the
    API is provided.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
    0d94e41a
Kconfig 5.08 KB