]> asedeno.scripts.mit.edu Git - linux.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)
commit3eeb5156362bd756859e8c84ceb2c22e1d4ef652
tree284ca9545970628afccfbac1a540f1b659c8e187
parent99380edf9efcf3485d1b9ac9203f6aa85b658d2e
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