• Arnd Bergmann's avatar
    ASoC: samsung: WM8994 depends on MFD_WM8994 · 61e49bf1
    Arnd Bergmann authored
    Any driver that selects SND_SOC_WM8994 should also make sure that
    MFD_WM8994 is set, since the codec relies on the mfd code:
    
      sound/built-in.o: In function `wm8994_read':
      last.c:(.text+0x20160): undefined reference to `wm8994_reg_read'
      sound/built-in.o: In function `wm8994_write':
      last.c:(.text+0x20e68): undefined reference to `wm8994_reg_write'
    
    This solves the problem by selecting the MFD driver directly
    and adding extra 'depends on' statements to make sure that we
    respect the dependencies of that driver.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    61e49bf1
Kconfig 6.02 KB