Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
db90305b
Commit
db90305b
authored
7 years ago
by
Vinod Koul
Browse files
Options
Download
Plain Diff
Merge branch 'topic/ti' into for-linus
parents
21359a84
d087f157
Changes
1
Hide 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,7 +54,15 @@ struct ti_am335x_xbar_map {
static
inline
void
ti_am335x_xbar_write
(
void
__iomem
*
iomem
,
int
event
,
u8
val
)
{
writeb_relaxed
(
val
,
iomem
+
event
);
/*
* 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
);
}
static
void
ti_am335x_xbar_free
(
struct
device
*
dev
,
void
*
route_data
)
...
...
This diff is collapsed.
Click to expand it.
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