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
5c726dcd
Commit
5c726dcd
authored
Jul 01, 2014
by
Mike Turquette
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-v3.16-rc/ti-clk-drv' of github.com:t-kristo/linux-pm into clk-fixes-ti
parents
c3dcac87
7d5fc85d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
drivers/clk/ti/apll.c
drivers/clk/ti/apll.c
+3
-5
drivers/clk/ti/mux.c
drivers/clk/ti/mux.c
+1
-1
No files found.
drivers/clk/ti/apll.c
View file @
5c726dcd
...
@@ -77,13 +77,11 @@ static int dra7_apll_enable(struct clk_hw *hw)
...
@@ -77,13 +77,11 @@ static int dra7_apll_enable(struct clk_hw *hw)
if
(
i
==
MAX_APLL_WAIT_TRIES
)
{
if
(
i
==
MAX_APLL_WAIT_TRIES
)
{
pr_warn
(
"clock: %s failed transition to '%s'
\n
"
,
pr_warn
(
"clock: %s failed transition to '%s'
\n
"
,
clk_name
,
(
state
)
?
"locked"
:
"bypassed"
);
clk_name
,
(
state
)
?
"locked"
:
"bypassed"
);
}
else
{
r
=
-
EBUSY
;
}
else
pr_debug
(
"clock: %s transition to '%s' in %d loops
\n
"
,
pr_debug
(
"clock: %s transition to '%s' in %d loops
\n
"
,
clk_name
,
(
state
)
?
"locked"
:
"bypassed"
,
i
);
clk_name
,
(
state
)
?
"locked"
:
"bypassed"
,
i
);
r
=
0
;
}
return
r
;
return
r
;
}
}
...
@@ -338,7 +336,7 @@ static void __init of_omap2_apll_setup(struct device_node *node)
...
@@ -338,7 +336,7 @@ static void __init of_omap2_apll_setup(struct device_node *node)
const
char
*
parent_name
;
const
char
*
parent_name
;
u32
val
;
u32
val
;
ad
=
kzalloc
(
sizeof
(
*
clk_hw
),
GFP_KERNEL
);
ad
=
kzalloc
(
sizeof
(
*
ad
),
GFP_KERNEL
);
clk_hw
=
kzalloc
(
sizeof
(
*
clk_hw
),
GFP_KERNEL
);
clk_hw
=
kzalloc
(
sizeof
(
*
clk_hw
),
GFP_KERNEL
);
init
=
kzalloc
(
sizeof
(
*
init
),
GFP_KERNEL
);
init
=
kzalloc
(
sizeof
(
*
init
),
GFP_KERNEL
);
...
...
drivers/clk/ti/mux.c
View file @
5c726dcd
...
@@ -160,7 +160,7 @@ static void of_mux_clk_setup(struct device_node *node)
...
@@ -160,7 +160,7 @@ static void of_mux_clk_setup(struct device_node *node)
u8
clk_mux_flags
=
0
;
u8
clk_mux_flags
=
0
;
u32
mask
=
0
;
u32
mask
=
0
;
u32
shift
=
0
;
u32
shift
=
0
;
u32
flags
=
0
;
u32
flags
=
CLK_SET_RATE_NO_REPARENT
;
num_parents
=
of_clk_get_parent_count
(
node
);
num_parents
=
of_clk_get_parent_count
(
node
);
if
(
num_parents
<
2
)
{
if
(
num_parents
<
2
)
{
...
...
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