]> 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)
commit121be9d5c892840f99d9fef90516ddaf57ae7122
tree284ca9545970628afccfbac1a540f1b659c8e187
parent013520aae16beb12f96003c30be1f5bef7c9955e
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