• Arnd Bergmann's avatar
    ASoC: fsl: clarify ac97 dependency · ab07eaed
    Arnd Bergmann authored
    A new randconfig build failure shows that the fsl-asoc-card module
    must not be built-in when the AC97 driver is a loadable module:
    
    sound/built-in.o: In function `fsl_asoc_card_late_probe':
    :(.text+0x571d8): undefined reference to `snd_ac97_update_bits'
    
    I couldn't come up with a nice solution, so this adds another dependency
    on "X || !X", which is the Kconfig way of saying that we have an
    optional dependency on something that might be a loadable module.
    
    Fixes: 50760cad ("ASoC: fsl-asoc-card: add AC'97 support")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    ab07eaed
Kconfig 8.83 KB