]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: Rework dma_chan_get
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 17 Nov 2014 13:41:58 +0000 (14:41 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 06:58:55 +0000 (12:28 +0530)
commit97924ec67a1d651721eec73faad13599a03184b2
tree9977bcb2e3f8eacfd1f1417a2aa2ced074734661
parenta04a08d26816839a8eb035a904ea652be6508966
dmaengine: Rework dma_chan_get

dma_chan_get uses a rather interesting error handling and code path.

Change it to something more usual in the kernel.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c