diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-17 14:42:03 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-12-22 12:28:56 +0530 |
commit | 4f8ef9f4140cc286d7d1cf9237da7a7439e4fc0b (patch) | |
tree | 7c33c06106e9b47061bd27a75cf198a8ce478595 /drivers/dma/dmaengine.c | |
parent | 7fa0cf462daa6f6121b332b87833d7f5bdb515c0 (diff) | |
download | linux-4f8ef9f4140cc286d7d1cf9237da7a7439e4fc0b.tar.gz linux-4f8ef9f4140cc286d7d1cf9237da7a7439e4fc0b.tar.bz2 linux-4f8ef9f4140cc286d7d1cf9237da7a7439e4fc0b.zip |
dmaengine: Remove the need to declare device_control
In order to migrate the drivers without triggering a BUG_ON for the converted
drivers, which would cause bisectability issues, we need to remove that check
before removing the device_control function entirely.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r-- | drivers/dma/dmaengine.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index b7f09f63a160..cae120994d8f 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c @@ -819,8 +819,6 @@ int dma_async_device_register(struct dma_device *device) !device->device_prep_dma_sg); BUG_ON(dma_has_cap(DMA_CYCLIC, device->cap_mask) && !device->device_prep_dma_cyclic); - BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) && - !device->device_control); BUG_ON(dma_has_cap(DMA_INTERLEAVE, device->cap_mask) && !device->device_prep_interleaved_dma); |