]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: remove BUG_ON while registering devices
authorVinod Koul <vinod.koul@intel.com>
Sun, 27 Aug 2017 11:25:32 +0000 (16:55 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 28 Aug 2017 04:09:46 +0000 (09:39 +0530)
commitace2a6ceb7e5540cc44ad8572e8bd083753ddd79
tree284ca9545970628afccfbac1a540f1b659c8e187
parent92fdd2f8d37785ec86b4d44e09f3b3d5e4cbeeba
dmaengine: remove BUG_ON while registering devices

DMAengine core has BUG_ON to check for mandatory operations and ones based
on capabilities, but they use BUG_ON, so remove and move to error returns
and logging the errors gracefully

Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c