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
fa17cb4a
Commit
fa17cb4a
authored
Jan 10, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/cs42l52' into tmp
parents
587691ea
3271a4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l52.c
+1
-3
No files found.
sound/soc/codecs/cs42l52.c
View file @
fa17cb4a
...
...
@@ -737,7 +737,7 @@ static const struct cs42l52_clk_para clk_map_table[] = {
static
int
cs42l52_get_clk
(
int
mclk
,
int
rate
)
{
int
i
,
ret
=
0
;
int
i
,
ret
=
-
EINVAL
;
u_int
mclk1
,
mclk2
=
0
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
clk_map_table
);
i
++
)
{
...
...
@@ -749,8 +749,6 @@ static int cs42l52_get_clk(int mclk, int rate)
}
}
}
if
(
ret
>
ARRAY_SIZE
(
clk_map_table
))
return
-
EINVAL
;
return
ret
;
}
...
...
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