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
db90305b
Commit
db90305b
authored
Jan 31, 2018
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/ti' into for-linus
parents
21359a84
d087f157
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
drivers/dma/ti-dma-crossbar.c
drivers/dma/ti-dma-crossbar.c
+9
-1
No files found.
drivers/dma/ti-dma-crossbar.c
View file @
db90305b
...
@@ -54,6 +54,14 @@ struct ti_am335x_xbar_map {
...
@@ -54,6 +54,14 @@ struct ti_am335x_xbar_map {
static
inline
void
ti_am335x_xbar_write
(
void
__iomem
*
iomem
,
int
event
,
u8
val
)
static
inline
void
ti_am335x_xbar_write
(
void
__iomem
*
iomem
,
int
event
,
u8
val
)
{
{
/*
* TPCC_EVT_MUX_60_63 register layout is different than the
* rest, in the sense, that event 63 is mapped to lowest byte
* and event 60 is mapped to highest, handle it separately.
*/
if
(
event
>=
60
&&
event
<=
63
)
writeb_relaxed
(
val
,
iomem
+
(
63
-
event
%
4
));
else
writeb_relaxed
(
val
,
iomem
+
event
);
writeb_relaxed
(
val
,
iomem
+
event
);
}
}
...
...
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