Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martyn Welch
linux
Commits
c9de36f2
Commit
c9de36f2
authored
16 years ago
by
Takashi Iwai
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/asoc' into for-linus
parents
18e352e4
ef390c0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sound/soc/codecs/wm8753.c
+8
-1
8 additions, 1 deletion
sound/soc/codecs/wm8753.c
sound/soc/omap/omap-mcbsp.c
+4
-0
4 additions, 0 deletions
sound/soc/omap/omap-mcbsp.c
with
12 additions
and
1 deletion
sound/soc/codecs/wm8753.c
+
8
−
1
View file @
c9de36f2
...
@@ -1451,7 +1451,14 @@ static const struct snd_soc_dai wm8753_all_dai[] = {
...
@@ -1451,7 +1451,14 @@ static const struct snd_soc_dai wm8753_all_dai[] = {
},
},
};
};
struct
snd_soc_dai
wm8753_dai
[
2
];
struct
snd_soc_dai
wm8753_dai
[]
=
{
{
.
name
=
"WM8753 DAI 0"
,
},
{
.
name
=
"WM8753 DAI 1"
,
},
};
EXPORT_SYMBOL_GPL
(
wm8753_dai
);
EXPORT_SYMBOL_GPL
(
wm8753_dai
);
static
void
wm8753_set_dai_mode
(
struct
snd_soc_codec
*
codec
,
unsigned
int
mode
)
static
void
wm8753_set_dai_mode
(
struct
snd_soc_codec
*
codec
,
unsigned
int
mode
)
...
...
This diff is collapsed.
Click to expand it.
sound/soc/omap/omap-mcbsp.c
+
4
−
0
View file @
c9de36f2
...
@@ -302,6 +302,10 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
...
@@ -302,6 +302,10 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
regs
->
spcr1
|=
RINTM
(
3
);
regs
->
spcr1
|=
RINTM
(
3
);
regs
->
rcr2
|=
RFIG
;
regs
->
rcr2
|=
RFIG
;
regs
->
xcr2
|=
XFIG
;
regs
->
xcr2
|=
XFIG
;
if
(
cpu_is_omap2430
()
||
cpu_is_omap34xx
())
{
regs
->
xccr
=
DXENDLY
(
1
)
|
XDMAEN
;
regs
->
rccr
=
RFULL_CYCLE
|
RDMAEN
;
}
switch
(
fmt
&
SND_SOC_DAIFMT_FORMAT_MASK
)
{
switch
(
fmt
&
SND_SOC_DAIFMT_FORMAT_MASK
)
{
case
SND_SOC_DAIFMT_I2S
:
case
SND_SOC_DAIFMT_I2S
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment