Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
dma_ip_drivers
Commits
53a8d075
Commit
53a8d075
authored
Aug 22, 2019
by
Karen Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
need to check for non_incr_addr in both poll & isr mode
parent
71bdd3cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
XDMA/linux-kernel/libxdma/libxdma.c
XDMA/linux-kernel/libxdma/libxdma.c
+3
-4
No files found.
XDMA/linux-kernel/libxdma/libxdma.c
View file @
53a8d075
...
@@ -554,11 +554,10 @@ static void engine_start_mode_config(struct xdma_engine *engine)
...
@@ -554,11 +554,10 @@ static void engine_start_mode_config(struct xdma_engine *engine)
if
((
engine
->
streaming
&&
(
engine
->
dir
==
DMA_FROM_DEVICE
))
||
if
((
engine
->
streaming
&&
(
engine
->
dir
==
DMA_FROM_DEVICE
))
||
(
engine
->
xdma_perf
))
(
engine
->
xdma_perf
))
w
|=
(
u32
)
XDMA_CTRL_IE_IDLE_STOPPED
;
w
|=
(
u32
)
XDMA_CTRL_IE_IDLE_STOPPED
;
/* set non-incremental addressing mode */
if
(
engine
->
non_incr_addr
)
w
|=
(
u32
)
XDMA_CTRL_NON_INCR_ADDR
;
}
}
/* set non-incremental addressing mode */
if
(
engine
->
non_incr_addr
)
w
|=
(
u32
)
XDMA_CTRL_NON_INCR_ADDR
;
dbg_tfr
(
"iowrite32(0x%08x to 0x%p) (control)
\n
"
,
w
,
dbg_tfr
(
"iowrite32(0x%08x to 0x%p) (control)
\n
"
,
w
,
(
void
*
)
&
engine
->
regs
->
control
);
(
void
*
)
&
engine
->
regs
->
control
);
...
...
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