Loading drivers/dma/dmaengine.c +4 −0 Original line number Diff line number Diff line Loading @@ -632,11 +632,15 @@ static bool device_has_all_tx_types(struct dma_device *device) #if defined(CONFIG_ASYNC_XOR) || defined(CONFIG_ASYNC_XOR_MODULE) if (!dma_has_cap(DMA_XOR, device->cap_mask)) return false; if (!dma_has_cap(DMA_XOR_VAL, device->cap_mask)) return false; #endif #if defined(CONFIG_ASYNC_PQ) || defined(CONFIG_ASYNC_PQ_MODULE) if (!dma_has_cap(DMA_PQ, device->cap_mask)) return false; if (!dma_has_cap(DMA_PQ_VAL, device->cap_mask)) return false; #endif return true; Loading Loading
drivers/dma/dmaengine.c +4 −0 Original line number Diff line number Diff line Loading @@ -632,11 +632,15 @@ static bool device_has_all_tx_types(struct dma_device *device) #if defined(CONFIG_ASYNC_XOR) || defined(CONFIG_ASYNC_XOR_MODULE) if (!dma_has_cap(DMA_XOR, device->cap_mask)) return false; if (!dma_has_cap(DMA_XOR_VAL, device->cap_mask)) return false; #endif #if defined(CONFIG_ASYNC_PQ) || defined(CONFIG_ASYNC_PQ_MODULE) if (!dma_has_cap(DMA_PQ, device->cap_mask)) return false; if (!dma_has_cap(DMA_PQ_VAL, device->cap_mask)) return false; #endif return true; Loading