diff options
| author | Mark Brown <broonie@kernel.org> | 2024-02-08 20:19:18 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-02-08 20:19:18 +0000 |
| commit | 0da9a7e5c86b003a9b446b30c90eaf96b2e442c2 (patch) | |
| tree | 635e28216dae3a2a91806df91c5a3962998aa891 /include/linux/dmaengine.h | |
| parent | 0f0212558bc9e33fad4148d3f44745a367076b20 (diff) | |
| parent | 76b31eb4c2da3ddb3195cc14f6aad24908adf524 (diff) | |
spi: get rid of some legacy macros
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
This series finishes off the removal of some of the legacy names for
SPI controllers and devices.
Diffstat (limited to 'include/linux/dmaengine.h')
| -rw-r--r-- | include/linux/dmaengine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 3df70d6131c8..752dbde4cec1 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -953,7 +953,8 @@ static inline int dmaengine_slave_config(struct dma_chan *chan, static inline bool is_slave_direction(enum dma_transfer_direction direction) { - return (direction == DMA_MEM_TO_DEV) || (direction == DMA_DEV_TO_MEM); + return (direction == DMA_MEM_TO_DEV) || (direction == DMA_DEV_TO_MEM) || + (direction == DMA_DEV_TO_DEV); } static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_single( |
