dmaengine: edma: Check the memory allocation for the memcpy dma device
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 21 Mar 2018 08:30:22 +0000 (10:30 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Mar 2018 12:13:42 +0000 (17:43 +0530)
commitf31b323675c11e41c117a4d31be3e93a9f79a07c
tree92788d8e29b5cfd9067ce6b4d32ef9a25eb2cc99
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
dmaengine: edma: Check the memory allocation for the memcpy dma device

If the allocation fails then disable the memcpy support.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c