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
2c852859
Commit
2c852859
authored
Nov 14, 2017
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/sa11x0' into for-linus
parents
b683fa22
73d2a3ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/dma/sa11x0-dma.c
drivers/dma/sa11x0-dma.c
+11
-0
No files found.
drivers/dma/sa11x0-dma.c
View file @
2c852859
...
...
@@ -823,6 +823,13 @@ static const struct sa11x0_dma_channel_desc chan_desc[] = {
CD
(
Ser4SSPRc
,
DDAR_RW
),
};
static
const
struct
dma_slave_map
sa11x0_dma_map
[]
=
{
{
"sa11x0-ir"
,
"tx"
,
"Ser2ICPTr"
},
{
"sa11x0-ir"
,
"rx"
,
"Ser2ICPRc"
},
{
"sa11x0-ssp"
,
"tx"
,
"Ser4SSPTr"
},
{
"sa11x0-ssp"
,
"rx"
,
"Ser4SSPRc"
},
};
static
int
sa11x0_dma_init_dmadev
(
struct
dma_device
*
dmadev
,
struct
device
*
dev
)
{
...
...
@@ -909,6 +916,10 @@ static int sa11x0_dma_probe(struct platform_device *pdev)
spin_lock_init
(
&
d
->
lock
);
INIT_LIST_HEAD
(
&
d
->
chan_pending
);
d
->
slave
.
filter
.
fn
=
sa11x0_dma_filter_fn
;
d
->
slave
.
filter
.
mapcnt
=
ARRAY_SIZE
(
sa11x0_dma_map
);
d
->
slave
.
filter
.
map
=
sa11x0_dma_map
;
d
->
base
=
ioremap
(
res
->
start
,
resource_size
(
res
));
if
(
!
d
->
base
)
{
ret
=
-
ENOMEM
;
...
...
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