diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-01-11 20:08:39 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-01-20 13:50:49 +0530 |
commit | 70cbb163de1c6de239375b967caf372a98fae935 (patch) | |
tree | cdbd3ca9e589a289ef358f3df060f6a36d1361a7 /drivers/mailbox | |
parent | 04abf5daf7df852566e5a4782d5954daa40e2542 (diff) | |
download | linux-70cbb163de1c6de239375b967caf372a98fae935.tar.bz2 |
dma: pl330: Use dma_get_slave_channel() in the of xlate callback
Currently the driver uses dma_request_channel() with a custom filter function to
find the requested channel. This will loop over all available channels until the
one we want has been found, but we already know which channel we want to
request, so we can dma_get_slave_channel(). This also makes the code a bit
shorter cleaner.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions