Re: [PATCH 4.4 89/96] spi: SPI_FSL_DSPI should depend on HAS_DMA
From: Ben Hutchings
Date: Thu Dec 07 2017 - 15:41:22 EST
On Tue, 2017-11-28 at 11:23 +0100, Greg Kroah-Hartman wrote:
> 4.4-stable review patch.ÂÂIf anyone has any objections, please let me know.
>
> ------------------
>
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>
>
> [ Upstream commit dadab2d4e3cf708ceba22ecddd94aedfecb39199 ]
>
> If NO_DMA=y:
>
> ÂÂÂÂERROR: "bad_dma_ops" [drivers/spi/spi-fsl-dspi.ko] undefined!
>
> Add a dependency on HAS_DMA to fix this.
[...]
This driver did not use DMA before 4.10, so I think this should be
reverted in the 4.4 and 4.9 branches.
Ben.
--
Ben Hutchings
Software Developer, Codethink Ltd.