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
805dd350
Commit
805dd350
authored
Mar 14, 2016
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/omap' into for-linus
parents
0e3d5b21
9bef6d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
drivers/dma/omap-dma.c
drivers/dma/omap-dma.c
+8
-0
No files found.
drivers/dma/omap-dma.c
View file @
805dd350
...
...
@@ -1009,6 +1009,13 @@ static int omap_dma_terminate_all(struct dma_chan *chan)
return
0
;
}
static
void
omap_dma_synchronize
(
struct
dma_chan
*
chan
)
{
struct
omap_chan
*
c
=
to_omap_dma_chan
(
chan
);
vchan_synchronize
(
&
c
->
vc
);
}
static
int
omap_dma_pause
(
struct
dma_chan
*
chan
)
{
struct
omap_chan
*
c
=
to_omap_dma_chan
(
chan
);
...
...
@@ -1112,6 +1119,7 @@ static int omap_dma_probe(struct platform_device *pdev)
od
->
ddev
.
device_pause
=
omap_dma_pause
;
od
->
ddev
.
device_resume
=
omap_dma_resume
;
od
->
ddev
.
device_terminate_all
=
omap_dma_terminate_all
;
od
->
ddev
.
device_synchronize
=
omap_dma_synchronize
;
od
->
ddev
.
src_addr_widths
=
OMAP_DMA_BUSWIDTHS
;
od
->
ddev
.
dst_addr_widths
=
OMAP_DMA_BUSWIDTHS
;
od
->
ddev
.
directions
=
BIT
(
DMA_DEV_TO_MEM
)
|
BIT
(
DMA_MEM_TO_DEV
);
...
...
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