diff options
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r-- | drivers/dma/dmaengine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 9d31d5eb95c1..235153cd7ac5 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c | |||
@@ -690,8 +690,12 @@ int dma_async_device_register(struct dma_device *device) | |||
690 | !device->device_prep_dma_memset); | 690 | !device->device_prep_dma_memset); |
691 | BUG_ON(dma_has_cap(DMA_INTERRUPT, device->cap_mask) && | 691 | BUG_ON(dma_has_cap(DMA_INTERRUPT, device->cap_mask) && |
692 | !device->device_prep_dma_interrupt); | 692 | !device->device_prep_dma_interrupt); |
693 | BUG_ON(dma_has_cap(DMA_SG, device->cap_mask) && | ||
694 | !device->device_prep_dma_sg); | ||
693 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && | 695 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && |
694 | !device->device_prep_slave_sg); | 696 | !device->device_prep_slave_sg); |
697 | BUG_ON(dma_has_cap(DMA_CYCLIC, device->cap_mask) && | ||
698 | !device->device_prep_dma_cyclic); | ||
695 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && | 699 | BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && |
696 | !device->device_control); | 700 | !device->device_control); |
697 | 701 | ||