|
@@ -859,9 +859,6 @@ int dma_async_device_register(struct dma_device *device)
|
|
BUG_ON(!device->device_issue_pending);
|
|
BUG_ON(!device->device_issue_pending);
|
|
BUG_ON(!device->dev);
|
|
BUG_ON(!device->dev);
|
|
|
|
|
|
- WARN(dma_has_cap(DMA_SLAVE, device->cap_mask) && !device->directions,
|
|
|
|
- "this driver doesn't support generic slave capabilities reporting\n");
|
|
|
|
-
|
|
|
|
/* note: this only matters in the
|
|
/* note: this only matters in the
|
|
* CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=n case
|
|
* CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=n case
|
|
*/
|
|
*/
|