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
9927f327
Commit
9927f327
authored
Oct 19, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.32' into for-2.6.33
parents
4f066173
02a06d30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
sound/soc/soc-core.c
sound/soc/soc-core.c
+8
-3
No files found.
sound/soc/soc-core.c
View file @
9927f327
...
...
@@ -795,6 +795,9 @@ static int soc_resume(struct device *dev)
#define soc_resume NULL
#endif
static
struct
snd_soc_dai_ops
null_dai_ops
=
{
};
static
void
snd_soc_instantiate_card
(
struct
snd_soc_card
*
card
)
{
struct
platform_device
*
pdev
=
container_of
(
card
->
dev
,
...
...
@@ -838,6 +841,11 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
ac97
=
1
;
}
for
(
i
=
0
;
i
<
card
->
num_links
;
i
++
)
{
if
(
!
card
->
dai_link
[
i
].
codec_dai
->
ops
)
card
->
dai_link
[
i
].
codec_dai
->
ops
=
&
null_dai_ops
;
}
/* If we have AC97 in the system then don't wait for the
* codec. This will need revisiting if we have to handle
* systems with mixed AC97 and non-AC97 parts. Only check for
...
...
@@ -2332,9 +2340,6 @@ static int snd_soc_unregister_card(struct snd_soc_card *card)
return
0
;
}
static
struct
snd_soc_dai_ops
null_dai_ops
=
{
};
/**
* snd_soc_register_dai - Register a DAI with the ASoC core
*
...
...
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