diff options
author | Lior Amsalem <alior@marvell.com> | 2015-05-26 15:07:36 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-06-10 22:18:31 +0530 |
commit | fbea28a2afb4251f985af52eb0180f097acaee16 (patch) | |
tree | f8f88b492c57092e095878d3d59bfbfabecc1fcc /drivers/clk/keystone/gate.c | |
parent | f1d25e0a9b1a6519580ddf5a7e5538093a504fcd (diff) | |
download | blackbird-op-linux-fbea28a2afb4251f985af52eb0180f097acaee16.tar.gz blackbird-op-linux-fbea28a2afb4251f985af52eb0180f097acaee16.zip |
dmaengine: mv_xor: improve descriptors list handling and reduce locking
This patch change the way free descriptors are marked.
Instead of having a field for descriptor in use, all the descriptors in the
all_slots list are free for use.
This simplify the allocation method and reduce the locking needed.
Signed-off-by: Lior Amsalem <alior@marvell.com>
Reviewed-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/clk/keystone/gate.c')
0 files changed, 0 insertions, 0 deletions