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
0335cd6c
Commit
0335cd6c
authored
May 14, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/da7213' into asoc-linus
parents
f722406f
61559af1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sound/soc/codecs/da7213.c
sound/soc/codecs/da7213.c
+4
-4
No files found.
sound/soc/codecs/da7213.c
View file @
0335cd6c
...
@@ -1488,17 +1488,17 @@ static int da7213_probe(struct snd_soc_codec *codec)
...
@@ -1488,17 +1488,17 @@ static int da7213_probe(struct snd_soc_codec *codec)
DA7213_DMIC_DATA_SEL_SHIFT
);
DA7213_DMIC_DATA_SEL_SHIFT
);
break
;
break
;
}
}
switch
(
pdata
->
dmic_
data_sel
)
{
switch
(
pdata
->
dmic_
samplephase
)
{
case
DA7213_DMIC_SAMPLE_ON_CLKEDGE
:
case
DA7213_DMIC_SAMPLE_ON_CLKEDGE
:
case
DA7213_DMIC_SAMPLE_BETWEEN_CLKEDGE
:
case
DA7213_DMIC_SAMPLE_BETWEEN_CLKEDGE
:
dmic_cfg
|=
(
pdata
->
dmic_
data_sel
<<
dmic_cfg
|=
(
pdata
->
dmic_
samplephase
<<
DA7213_DMIC_SAMPLEPHASE_SHIFT
);
DA7213_DMIC_SAMPLEPHASE_SHIFT
);
break
;
break
;
}
}
switch
(
pdata
->
dmic_
data_sel
)
{
switch
(
pdata
->
dmic_
clk_rate
)
{
case
DA7213_DMIC_CLK_3_0MHZ
:
case
DA7213_DMIC_CLK_3_0MHZ
:
case
DA7213_DMIC_CLK_1_5MHZ
:
case
DA7213_DMIC_CLK_1_5MHZ
:
dmic_cfg
|=
(
pdata
->
dmic_
data_sel
<<
dmic_cfg
|=
(
pdata
->
dmic_
clk_rate
<<
DA7213_DMIC_CLK_RATE_SHIFT
);
DA7213_DMIC_CLK_RATE_SHIFT
);
break
;
break
;
}
}
...
...
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