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
592745e2
Commit
592745e2
authored
Sep 02, 2013
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/of' into for-linus
parents
355cdafe
303fd71d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
drivers/dma/dmaengine.c
drivers/dma/dmaengine.c
+5
-5
drivers/dma/of-dma.c
drivers/dma/of-dma.c
+2
-1
No files found.
drivers/dma/dmaengine.c
View file @
592745e2
...
...
@@ -514,16 +514,16 @@ struct dma_chan *dma_get_slave_channel(struct dma_chan *chan)
/* lock against __dma_request_channel */
mutex_lock
(
&
dma_list_mutex
);
if
(
chan
->
client_count
==
0
)
if
(
chan
->
client_count
==
0
)
{
err
=
dma_chan_get
(
chan
);
else
if
(
err
)
pr_debug
(
"%s: failed to get %s: (%d)
\n
"
,
__func__
,
dma_chan_name
(
chan
),
err
);
}
else
chan
=
NULL
;
mutex_unlock
(
&
dma_list_mutex
);
if
(
err
)
pr_debug
(
"%s: failed to get %s: (%d)
\n
"
,
__func__
,
dma_chan_name
(
chan
),
err
);
return
chan
;
}
...
...
drivers/dma/of-dma.c
View file @
592745e2
...
...
@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
count
=
of_property_count_strings
(
np
,
"dma-names"
);
if
(
count
<
0
)
{
pr_err
(
"%s: dma-names property missing or empty
\n
"
,
__func__
);
pr_err
(
"%s: dma-names property of node '%s' missing or empty
\n
"
,
__func__
,
np
->
full_name
);
return
NULL
;
}
...
...
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