]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: break out channel registration
authorDave Jiang <dave.jiang@intel.com>
Tue, 21 Jan 2020 23:43:47 +0000 (16:43 -0700)
committerVinod Koul <vkoul@kernel.org>
Fri, 24 Jan 2020 05:48:45 +0000 (11:18 +0530)
commitd2fb0a0438384fee08a418025f743913020033ce
tree30b137754d9e648f44238010d6f95d9b7e283fdb
parent232bb01bb8ad2f88aefbd88b0d3fe3f9a253502b
dmaengine: break out channel registration

In preparation for dynamic channel registration, the code segment that
does the channel registration is broken out to its own function.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/157965022778.73301.8929944324898985438.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmaengine.c