]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dw_dmac: utilize slave_id to pass request line
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Sep 2012 10:46:19 +0000 (13:46 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 14 Sep 2012 02:59:46 +0000 (08:29 +0530)
commit8fccc5bfd7f83fd321db42bcad36e2d9fe13d65b
tree2b3e2169e830b6b1d02cf361323e22b72ad123a5
parentf1a7757008b810217b2380d01b740244f21c09bd
dw_dmac: utilize slave_id to pass request line

There is slave_id field in the generic slave config structure that is dedicated
for the uniq slave number. In our case we have the request lines wired to the
certain hardware. Therefore the number of the request line is uniq and could be
used as slave_id. It allows us in some cases to drop out the usage of the
custom slave config structure.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c