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
d1856637
Commit
d1856637
authored
Oct 21, 2005
by
Russell King
Committed by
Russell King
Oct 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix Integrator IM/PD-1 support
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
7fe8785e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
arch/arm/mach-integrator/impd1.c
arch/arm/mach-integrator/impd1.c
+8
-7
No files found.
arch/arm/mach-integrator/impd1.c
View file @
d1856637
...
@@ -67,7 +67,7 @@ static void impd1_setvco(struct clk *clk, struct icst525_vco vco)
...
@@ -67,7 +67,7 @@ static void impd1_setvco(struct clk *clk, struct icst525_vco vco)
}
}
writel
(
0
,
impd1
->
base
+
IMPD1_LOCK
);
writel
(
0
,
impd1
->
base
+
IMPD1_LOCK
);
#if DEBUG
#if
def
DEBUG
vco
.
v
=
val
&
0x1ff
;
vco
.
v
=
val
&
0x1ff
;
vco
.
r
=
(
val
>>
9
)
&
0x7f
;
vco
.
r
=
(
val
>>
9
)
&
0x7f
;
vco
.
s
=
(
val
>>
16
)
&
7
;
vco
.
s
=
(
val
>>
16
)
&
7
;
...
@@ -427,17 +427,18 @@ static int impd1_probe(struct lm_device *dev)
...
@@ -427,17 +427,18 @@ static int impd1_probe(struct lm_device *dev)
return
ret
;
return
ret
;
}
}
static
int
impd1_remove_one
(
struct
device
*
dev
,
void
*
data
)
{
device_unregister
(
dev
);
return
0
;
}
static
void
impd1_remove
(
struct
lm_device
*
dev
)
static
void
impd1_remove
(
struct
lm_device
*
dev
)
{
{
struct
impd1_module
*
impd1
=
lm_get_drvdata
(
dev
);
struct
impd1_module
*
impd1
=
lm_get_drvdata
(
dev
);
struct
list_head
*
l
,
*
n
;
int
i
;
int
i
;
list_for_each_safe
(
l
,
n
,
&
dev
->
dev
.
children
)
{
device_for_each_child
(
&
dev
->
dev
,
NULL
,
impd1_remove_one
);
struct
device
*
d
=
list_to_dev
(
l
);
device_unregister
(
d
);
}
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
impd1
->
vcos
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
impd1
->
vcos
);
i
++
)
clk_unregister
(
&
impd1
->
vcos
[
i
]);
clk_unregister
(
&
impd1
->
vcos
[
i
]);
...
...
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