Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
96622bde
Commit
96622bde
authored
Oct 03, 2016
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/unmap_cleanup' into for-linus
parents
7afb1fa8
fd3c69bd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
6 deletions
+5
-6
drivers/dma/fsl_raid.c
drivers/dma/fsl_raid.c
+1
-1
drivers/dma/fsldma.c
drivers/dma/fsldma.c
+1
-1
drivers/dma/mv_xor.c
drivers/dma/mv_xor.c
+1
-1
drivers/dma/ppc4xx/adma.c
drivers/dma/ppc4xx/adma.c
+1
-1
drivers/dma/xgene-dma.c
drivers/dma/xgene-dma.c
+1
-2
No files found.
drivers/dma/fsl_raid.c
View file @
96622bde
...
...
@@ -135,8 +135,8 @@ static void fsl_re_issue_pending(struct dma_chan *chan)
static
void
fsl_re_desc_done
(
struct
fsl_re_desc
*
desc
)
{
dma_cookie_complete
(
&
desc
->
async_tx
);
dmaengine_desc_get_callback_invoke
(
&
desc
->
async_tx
,
NULL
);
dma_descriptor_unmap
(
&
desc
->
async_tx
);
dmaengine_desc_get_callback_invoke
(
&
desc
->
async_tx
,
NULL
);
}
static
void
fsl_re_cleanup_descs
(
struct
fsl_re_chan
*
re_chan
)
...
...
drivers/dma/fsldma.c
View file @
96622bde
...
...
@@ -516,9 +516,9 @@ static dma_cookie_t fsldma_run_tx_complete_actions(struct fsldma_chan *chan,
if
(
txd
->
cookie
>
0
)
{
ret
=
txd
->
cookie
;
dma_descriptor_unmap
(
txd
);
/* Run the link descriptor callback function */
dmaengine_desc_get_callback_invoke
(
txd
,
NULL
);
dma_descriptor_unmap
(
txd
);
}
/* Run any dependencies */
...
...
drivers/dma/mv_xor.c
View file @
96622bde
...
...
@@ -206,11 +206,11 @@ mv_desc_run_tx_complete_actions(struct mv_xor_desc_slot *desc,
if
(
desc
->
async_tx
.
cookie
>
0
)
{
cookie
=
desc
->
async_tx
.
cookie
;
dma_descriptor_unmap
(
&
desc
->
async_tx
);
/* call the callback (must not sleep or submit new
* operations to this channel)
*/
dmaengine_desc_get_callback_invoke
(
&
desc
->
async_tx
,
NULL
);
dma_descriptor_unmap
(
&
desc
->
async_tx
);
}
/* run dependent operations */
...
...
drivers/dma/ppc4xx/adma.c
View file @
96622bde
...
...
@@ -1482,11 +1482,11 @@ static dma_cookie_t ppc440spe_adma_run_tx_complete_actions(
cookie
=
desc
->
async_tx
.
cookie
;
desc
->
async_tx
.
cookie
=
0
;
dma_descriptor_unmap
(
&
desc
->
async_tx
);
/* call the callback (must not sleep or submit new
* operations to this channel)
*/
dmaengine_desc_get_callback_invoke
(
&
desc
->
async_tx
,
NULL
);
dma_descriptor_unmap
(
&
desc
->
async_tx
);
}
/* run dependent operations */
...
...
drivers/dma/xgene-dma.c
View file @
96622bde
...
...
@@ -606,12 +606,11 @@ static void xgene_dma_run_tx_complete_actions(struct xgene_dma_chan *chan,
return
;
dma_cookie_complete
(
tx
);
dma_descriptor_unmap
(
tx
);
/* Run the link descriptor callback function */
dmaengine_desc_get_callback_invoke
(
tx
,
NULL
);
dma_descriptor_unmap
(
tx
);
/* Run any dependencies */
dma_run_dependencies
(
tx
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment