ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 12 Feb 2020 14:56:48 +0000 (15:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Feb 2020 23:53:04 +0000 (23:53 +0000)
commitce0c97f8a2936d05951da7093b881c8eaaee72e0
treece11cd48e79810d89000b80596f5c404b5f45ec8
parenteadd54c75f1ef1566a6fe004787c028eb095f8b4
ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout

Fixes for CONFIG_SPI=n:

    WARNING: unmet direct dependencies detected for REGMAP_SPI
      Depends on [n]: SPI [=n]
      Selected by [m]:
      - SND_SOC_ADAU1781_SPI [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]
      - SND_SOC_ADAU1977_SPI [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

    ERROR: "spi_async" [...] undefined!
    ERROR: "spi_get_device_id" [...] undefined!
    ERROR: "__spi_register_driver" [...] undefined!
    ERROR: "spi_setup" [...] undefined!
    ERROR: "spi_sync" [...] undefined!
    ERROR: "spi_write_then_read" [...] undefined!

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: ea00d95200d02ece ("ASoC: Use imply for SND_SOC_ALL_CODECS")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20200212145650.4602-2-geert@linux-m68k.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig