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
a941145d
Commit
a941145d
authored
Nov 08, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm0010' into asoc-next
parents
108145a6
c36c8909
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sound/soc/codecs/wm0010.c
sound/soc/codecs/wm0010.c
+4
-4
No files found.
sound/soc/codecs/wm0010.c
View file @
a941145d
...
@@ -794,11 +794,11 @@ static int wm0010_set_sysclk(struct snd_soc_codec *codec, int source,
...
@@ -794,11 +794,11 @@ static int wm0010_set_sysclk(struct snd_soc_codec *codec, int source,
wm0010
->
max_spi_freq
=
0
;
wm0010
->
max_spi_freq
=
0
;
}
else
{
}
else
{
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
pll_clock_map
);
i
++
)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
pll_clock_map
);
i
++
)
if
(
freq
>=
pll_clock_map
[
i
].
max_sysclk
)
if
(
freq
>=
pll_clock_map
[
i
].
max_sysclk
)
{
wm0010
->
max_spi_freq
=
pll_clock_map
[
i
].
max_pll_spi_speed
;
wm0010
->
pll_clkctrl1
=
pll_clock_map
[
i
].
pll_clkctrl1
;
break
;
break
;
}
wm0010
->
max_spi_freq
=
pll_clock_map
[
i
].
max_pll_spi_speed
;
wm0010
->
pll_clkctrl1
=
pll_clock_map
[
i
].
pll_clkctrl1
;
}
}
return
0
;
return
0
;
...
...
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