Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: rspi: Relax DMA dependency and increase build coverage

As of commit ab116a4df4942c78c189d9b0744dd940ab9e00b9 ("dmaengine:
shdma: fix a build failure on platforms with no DMA support"), the DMA
filter function shdma_chan_filter() is sufficiently abstracted to allow
building without DMA support. Hence drop the SH_DMAE_BASE dependency on
SUPERH.
Also increase build coverage by allowing the driver to be enabled if
COMPILE_TEST=y.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Geert Uytterhoeven and committed by
Mark Brown
533465a8 afcc98de

+1 -1
+1 -1
drivers/spi/Kconfig
··· 384 384 385 385 config SPI_RSPI 386 386 tristate "Renesas RSPI/QSPI controller" 387 - depends on (SUPERH && SH_DMAE_BASE) || ARCH_SHMOBILE 387 + depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST 388 388 help 389 389 SPI driver for Renesas RSPI and QSPI blocks. 390 390