Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132794
b: refs/heads/master
c: 5669239
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jan 20, 2009
1 parent bd7e4a4 commit 0dc3659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 927b0aea93bb324d743e575659e10d6d76818e4b
refs/heads/master: 56692396447ca3fee061c26f22590a1046fd2d6b
18 changes: 6 additions & 12 deletions trunk/sound/soc/fsl/mpc8610_hpcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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);
Expand All @@ -465,7 +459,7 @@ static int mpc8610_hpcd_probe(struct of_device *ofdev,
goto error;
}

machine_data->sound_devdata.card = &mpc8610_hpcd_machine;
machine_data->sound_devdata.card = &machine_data->machine;
machine_data->sound_devdata.codec_dev = &soc_codec_device_cs4270;
machine_data->machine.platform = &fsl_soc_platform;

Expand Down

0 comments on commit 0dc3659

Please sign in to comment.