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
dd501d94
Commit
dd501d94
authored
16 years ago
by
Takashi Iwai
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/asoc' into for-linus
parents
6e78b780
8a9dee59
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sound/soc/fsl/mpc8610_hpcd.c
+6
-12
6 additions, 12 deletions
sound/soc/fsl/mpc8610_hpcd.c
with
6 additions
and
12 deletions
sound/soc/fsl/mpc8610_hpcd.c
+
6
−
12
View file @
dd501d94
...
...
@@ -182,16 +182,6 @@ static struct snd_soc_ops mpc8610_hpcd_ops = {
.
startup
=
mpc8610_hpcd_startup
,
};
/**
* mpc8610_hpcd_machine: ASoC machine data
*/
static
struct
snd_soc_card
mpc8610_hpcd_machine
=
{
.
probe
=
mpc8610_hpcd_machine_probe
,
.
remove
=
mpc8610_hpcd_machine_remove
,
.
name
=
"MPC8610 HPCD"
,
.
num_links
=
1
,
};
/**
* mpc8610_hpcd_probe: OF probe function for the fabric driver
*
...
...
@@ -455,7 +445,11 @@ static int mpc8610_hpcd_probe(struct of_device *ofdev,
machine_data
->
dai
.
codec_dai
=
&
cs4270_dai
;
/* The codec_dai we want */
machine_data
->
dai
.
ops
=
&
mpc8610_hpcd_ops
;
mpc8610_hpcd_machine
.
dai_link
=
&
machine_data
->
dai
;
machine_data
->
machine
.
probe
=
mpc8610_hpcd_machine_probe
;
machine_data
->
machine
.
remove
=
mpc8610_hpcd_machine_remove
;
machine_data
->
machine
.
name
=
"MPC8610 HPCD"
;
machine_data
->
machine
.
num_links
=
1
;
machine_data
->
machine
.
dai_link
=
&
machine_data
->
dai
;
/* Allocate a new audio platform device structure */
sound_device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
...
...
@@ -465,7 +459,7 @@ static int mpc8610_hpcd_probe(struct of_device *ofdev,
goto
error
;
}
machine_data
->
sound_devdata
.
card
=
&
m
pc8610_hpcd_
machine
;
machine_data
->
sound_devdata
.
card
=
&
m
achine_data
->
machine
;
machine_data
->
sound_devdata
.
codec_dev
=
&
soc_codec_device_cs4270
;
machine_data
->
machine
.
platform
=
&
fsl_soc_platform
;
...
...
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