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
9be6eb41
Commit
9be6eb41
authored
Sep 21, 2011
by
Arnd Bergmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davinci/cleanup' into next/cleanup
parents
967d5cef
902532db
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
4 deletions
+8
-4
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/devices-da8xx.c
+3
-0
arch/arm/mach-davinci/devices-tnetv107x.c
arch/arm/mach-davinci/devices-tnetv107x.c
+1
-0
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm355.c
+1
-0
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm644x.c
+1
-0
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/dm646x.c
+1
-0
arch/arm/mach-davinci/dma.c
arch/arm/mach-davinci/dma.c
+1
-4
No files found.
arch/arm/mach-davinci/devices-da8xx.c
View file @
9be6eb41
...
...
@@ -136,6 +136,7 @@ static struct edma_soc_info da830_edma_cc0_info = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
da8xx_queue_tc_mapping
,
.
queue_priority_mapping
=
da8xx_queue_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
};
static
struct
edma_soc_info
*
da830_edma_info
[
EDMA_MAX_CC
]
=
{
...
...
@@ -151,6 +152,7 @@ static struct edma_soc_info da850_edma_cc_info[] = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
da8xx_queue_tc_mapping
,
.
queue_priority_mapping
=
da8xx_queue_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
},
{
.
n_channel
=
32
,
...
...
@@ -160,6 +162,7 @@ static struct edma_soc_info da850_edma_cc_info[] = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
da850_queue_tc_mapping
,
.
queue_priority_mapping
=
da850_queue_priority_mapping
,
.
default_queue
=
EVENTQ_0
,
},
};
...
...
arch/arm/mach-davinci/devices-tnetv107x.c
View file @
9be6eb41
...
...
@@ -80,6 +80,7 @@ static struct edma_soc_info edma_cc0_info = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
edma_tc_mapping
,
.
queue_priority_mapping
=
edma_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
};
static
struct
edma_soc_info
*
tnetv107x_edma_info
[
EDMA_MAX_CC
]
=
{
...
...
arch/arm/mach-davinci/dm355.c
View file @
9be6eb41
...
...
@@ -591,6 +591,7 @@ static struct edma_soc_info edma_cc0_info = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
queue_tc_mapping
,
.
queue_priority_mapping
=
queue_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
};
static
struct
edma_soc_info
*
dm355_edma_info
[
EDMA_MAX_CC
]
=
{
...
...
arch/arm/mach-davinci/dm644x.c
View file @
9be6eb41
...
...
@@ -514,6 +514,7 @@ static struct edma_soc_info edma_cc0_info = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
queue_tc_mapping
,
.
queue_priority_mapping
=
queue_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
};
static
struct
edma_soc_info
*
dm644x_edma_info
[
EDMA_MAX_CC
]
=
{
...
...
arch/arm/mach-davinci/dm646x.c
View file @
9be6eb41
...
...
@@ -555,6 +555,7 @@ static struct edma_soc_info edma_cc0_info = {
.
n_cc
=
1
,
.
queue_tc_mapping
=
dm646x_queue_tc_mapping
,
.
queue_priority_mapping
=
dm646x_queue_priority_mapping
,
.
default_queue
=
EVENTQ_1
,
};
static
struct
edma_soc_info
*
dm646x_edma_info
[
EDMA_MAX_CC
]
=
{
...
...
arch/arm/mach-davinci/dma.c
View file @
9be6eb41
...
...
@@ -1435,12 +1435,11 @@ static int __init edma_probe(struct platform_device *pdev)
goto
fail1
;
}
edma_cc
[
j
]
=
k
m
alloc
(
sizeof
(
struct
edma
),
GFP_KERNEL
);
edma_cc
[
j
]
=
k
z
alloc
(
sizeof
(
struct
edma
),
GFP_KERNEL
);
if
(
!
edma_cc
[
j
])
{
status
=
-
ENOMEM
;
goto
fail1
;
}
memset
(
edma_cc
[
j
],
0
,
sizeof
(
struct
edma
));
edma_cc
[
j
]
->
num_channels
=
min_t
(
unsigned
,
info
[
j
]
->
n_channel
,
EDMA_MAX_DMACH
);
...
...
@@ -1450,8 +1449,6 @@ static int __init edma_probe(struct platform_device *pdev)
EDMA_MAX_CC
);
edma_cc
[
j
]
->
default_queue
=
info
[
j
]
->
default_queue
;
if
(
!
edma_cc
[
j
]
->
default_queue
)
edma_cc
[
j
]
->
default_queue
=
EVENTQ_1
;
dev_dbg
(
&
pdev
->
dev
,
"DMA REG BASE ADDR=%p
\n
"
,
edmacc_regs_base
[
j
]);
...
...
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