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
nexedi
linux
Commits
1cc3334e
Commit
1cc3334e
authored
Apr 16, 2016
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/xilinx' into fixes
parents
4bd61359
330ed4da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/dma/xilinx/xilinx_vdma.c
drivers/dma/xilinx/xilinx_vdma.c
+1
-1
No files found.
drivers/dma/xilinx/xilinx_vdma.c
View file @
1cc3334e
...
...
@@ -1236,7 +1236,7 @@ static struct dma_chan *of_dma_xilinx_xlate(struct of_phandle_args *dma_spec,
struct
xilinx_vdma_device
*
xdev
=
ofdma
->
of_dma_data
;
int
chan_id
=
dma_spec
->
args
[
0
];
if
(
chan_id
>=
XILINX_VDMA_MAX_CHANS_PER_DEVICE
)
if
(
chan_id
>=
XILINX_VDMA_MAX_CHANS_PER_DEVICE
||
!
xdev
->
chan
[
chan_id
]
)
return
NULL
;
return
dma_get_slave_channel
(
&
xdev
->
chan
[
chan_id
]
->
common
);
...
...
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