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
0c11f655
Commit
0c11f655
authored
Jul 17, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Fix FLL reference clock division setup in WM8993
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
8aa2df53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm8993.c
+2
-0
No files found.
sound/soc/codecs/wm8993.c
View file @
0c11f655
...
@@ -345,8 +345,10 @@ static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
...
@@ -345,8 +345,10 @@ static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
/* Fref must be <=13.5MHz */
/* Fref must be <=13.5MHz */
div
=
1
;
div
=
1
;
fll_div
->
fll_clk_ref_div
=
0
;
while
((
Fref
/
div
)
>
13500000
)
{
while
((
Fref
/
div
)
>
13500000
)
{
div
*=
2
;
div
*=
2
;
fll_div
->
fll_clk_ref_div
++
;
if
(
div
>
8
)
{
if
(
div
>
8
)
{
pr_err
(
"Can't scale %dMHz input down to <=13.5MHz
\n
"
,
pr_err
(
"Can't scale %dMHz input down to <=13.5MHz
\n
"
,
...
...
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