Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120273
b: refs/heads/master
c: 87689d5
h: refs/heads/master
i:
  120271: 0679ab5
v: v3
  • Loading branch information
Mark Brown committed Dec 2, 2008
1 parent b7c3fb9 commit 3a8c1fe
Show file tree
Hide file tree
Showing 32 changed files with 56 additions and 50 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: 6308419a199eed66086cd756ab8dc81b88d54a6b
refs/heads/master: 87689d567a45f80416feea0a2aa6d3a2a6b8963a
2 changes: 1 addition & 1 deletion trunk/include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ struct snd_soc_card {

struct snd_soc_device *socdev;

struct snd_soc_platform *platform;
struct delayed_work delayed_work;
struct work_struct deferred_resume_work;
};
Expand All @@ -360,7 +361,6 @@ struct snd_soc_card {
struct snd_soc_device {
struct device *dev;
struct snd_soc_card *card;
struct snd_soc_platform *platform;
struct snd_soc_codec *codec;
struct snd_soc_codec_device *codec_dev;
void *codec_data;
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/atmel/playpaq_wm8510.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ static struct snd_soc_dai_link playpaq_wm8510_dai = {

static struct snd_soc_card snd_soc_playpaq = {
.name = "LRS_PlayPaq_WM8510",
.platform = &at32_soc_platform,
.dai_link = &playpaq_wm8510_dai,
.num_links = 1,
};
Expand All @@ -378,7 +379,6 @@ static struct wm8510_setup_data playpaq_wm8510_setup = {

static struct snd_soc_device playpaq_wm8510_snd_devdata = {
.card = &snd_soc_playpaq,
.platform = &at32_soc_platform,
.codec_dev = &soc_codec_dev_wm8510,
.codec_data = &playpaq_wm8510_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/atmel/sam9g20_wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ static struct snd_soc_dai_link at91sam9g20ek_dai = {

static struct snd_soc_card snd_soc_at91sam9g20ek = {
.name = "WM8731",
.platform = &atmel_soc_platform,
.dai_link = &at91sam9g20ek_dai,
.num_links = 1,
};
Expand All @@ -255,7 +256,6 @@ static struct wm8731_setup_data at91sam9g20ek_wm8731_setup = {

static struct snd_soc_device at91sam9g20ek_snd_devdata = {
.card = &snd_soc_at91sam9g20ek,
.platform = &atmel_soc_platform,
.codec_dev = &soc_codec_dev_wm8731,
.codec_data = &at91sam9g20ek_wm8731_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/blackfin/bf5xx-ad1980.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ static struct snd_soc_dai_link bf5xx_board_dai = {

static struct snd_soc_card bf5xx_board = {
.name = "bf5xx-board",
.platform = &bf5xx_ac97_soc_platform,
.dai_link = &bf5xx_board_dai,
.num_links = 1,
};

static struct snd_soc_device bf5xx_board_snd_devdata = {
.card = &bf5xx_board,
.platform = &bf5xx_ac97_soc_platform,
.codec_dev = &soc_codec_dev_ad1980,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/blackfin/bf5xx-ad73311.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,14 @@ static struct snd_soc_dai_link bf5xx_ad73311_dai = {

static struct snd_soc_card bf5xx_ad73311 = {
.name = "bf5xx_ad73311",
.platform = &bf5xx_i2s_soc_platform,
.probe = bf5xx_probe,
.dai_link = &bf5xx_ad73311_dai,
.num_links = 1,
};

static struct snd_soc_device bf5xx_ad73311_snd_devdata = {
.card = &bf5xx_ad73311,
.platform = &bf5xx_i2s_soc_platform,
.codec_dev = &soc_codec_dev_ad73311,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/blackfin/bf5xx-ssm2602.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ static struct ssm2602_setup_data bf5xx_ssm2602_setup = {

static struct snd_soc_card bf5xx_ssm2602 = {
.name = "bf5xx_ssm2602",
.platform = &bf5xx_i2s_soc_platform,
.dai_link = &bf5xx_ssm2602_dai,
.num_links = 1,
};

static struct snd_soc_device bf5xx_ssm2602_snd_devdata = {
.card = &bf5xx_ssm2602,
.platform = &bf5xx_i2s_soc_platform,
.codec_dev = &soc_codec_dev_ssm2602,
.codec_data = &bf5xx_ssm2602_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/davinci/davinci-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ static struct snd_soc_dai_link evm_dai = {
/* davinci-evm audio machine driver */
static struct snd_soc_card snd_soc_card_evm = {
.name = "DaVinci EVM",
.platform = &davinci_soc_platform,
.dai_link = &evm_dai,
.num_links = 1,
};
Expand All @@ -143,7 +144,6 @@ static struct aic3x_setup_data evm_aic3x_setup = {
/* evm audio subsystem */
static struct snd_soc_device evm_snd_devdata = {
.card = &snd_soc_card_evm,
.platform = &davinci_soc_platform,
.codec_dev = &soc_codec_dev_aic3x,
.codec_data = &evm_aic3x_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/davinci/davinci-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static void davinci_mcbsp_start(struct snd_pcm_substream *substream)
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct davinci_mcbsp_dev *dev = rtd->dai->cpu_dai->private_data;
struct snd_soc_device *socdev = rtd->socdev;
struct snd_soc_platform *platform = socdev->platform;
struct snd_soc_platform *platform = socdev->card->platform;
u32 w;
int ret;

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/davinci/davinci-sffsdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ static struct snd_soc_dai_link sffsdr_dai = {
/* davinci-sffsdr audio machine driver */
static struct snd_soc_card snd_soc_sffsdr = {
.name = "DaVinci SFFSDR",
.platform = &davinci_soc_platform,
.dai_link = &sffsdr_dai,
.num_links = 1,
};
Expand All @@ -91,7 +92,6 @@ static struct pcm3008_setup_data sffsdr_pcm3008_setup = {
/* sffsdr audio subsystem */
static struct snd_soc_device sffsdr_snd_devdata = {
.card = &snd_soc_sffsdr,
.platform = &davinci_soc_platform,
.codec_dev = &soc_codec_dev_pcm3008,
.codec_data = &sffsdr_pcm3008_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/fsl/mpc8610_hpcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ static int mpc8610_hpcd_probe(struct of_device *ofdev,

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

sound_device->dev.platform_data = machine_data;

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/fsl/soc-of-simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ int of_snd_soc_register_platform(struct snd_soc_platform *platform,

of_soc->platform_node = node;
of_soc->dai_link.cpu_dai = cpu_dai;
of_soc->device.platform = platform;
of_soc->card.platform = platform;
of_soc->card.name = of_soc->dai_link.cpu_dai->name;

/* Now try to register the SoC device */
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/n810.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ static struct snd_soc_dai_link n810_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_n810 = {
.name = "N810",
.platform = &omap_soc_platform,
.dai_link = &n810_dai,
.num_links = 1,
};
Expand All @@ -303,7 +304,6 @@ static struct aic3x_setup_data n810_aic33_setup = {
/* Audio subsystem */
static struct snd_soc_device n810_snd_devdata = {
.card = &snd_soc_n810,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_aic3x,
.codec_data = &n810_aic33_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/omap2evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ static struct snd_soc_dai_link omap2evm_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_omap2evm = {
.name = "omap2evm",
.platform = &omap_soc_platform,
.dai_link = &omap2evm_dai,
.num_links = 1,
};

/* Audio subsystem */
static struct snd_soc_device omap2evm_snd_devdata = {
.card = &snd_soc_omap2evm,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_twl4030,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/omap3beagle.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ static struct snd_soc_dai_link omap3beagle_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_omap3beagle = {
.name = "omap3beagle",
.platform = &omap_soc_platform,
.dai_link = &omap3beagle_dai,
.num_links = 1,
};

/* Audio subsystem */
static struct snd_soc_device omap3beagle_snd_devdata = {
.card = &snd_soc_omap3beagle,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_twl4030,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/osk5912.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ static struct snd_soc_dai_link osk_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_card_osk = {
.name = "OSK5912",
.platform = &omap_soc_platform,
.dai_link = &osk_dai,
.num_links = 1,
};

/* Audio subsystem */
static struct snd_soc_device osk_snd_devdata = {
.card = &snd_soc_card_osk,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_tlv320aic23,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/overo.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ static struct snd_soc_dai_link overo_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_card_overo = {
.name = "overo",
.platform = &omap_soc_platform,
.dai_link = &overo_dai,
.num_links = 1,
};

/* Audio subsystem */
static struct snd_soc_device overo_snd_devdata = {
.card = &snd_soc_card_overo,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_twl4030,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/omap/sdp3430.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ static struct snd_soc_dai_link sdp3430_dai = {
/* Audio machine driver */
static struct snd_soc_machine snd_soc_machine_sdp3430 = {
.name = "SDP3430",
.platform = &omap_soc_platform,
.dai_link = &sdp3430_dai,
.num_links = 1,
};

/* Audio subsystem */
static struct snd_soc_device sdp3430_snd_devdata = {
.machine = &snd_soc_machine_sdp3430,
.platform = &omap_soc_platform,
.codec_dev = &soc_codec_dev_twl4030,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ static struct snd_soc_dai_link corgi_dai = {
/* corgi audio machine driver */
static struct snd_soc_card snd_soc_corgi = {
.name = "Corgi",
.platform = &pxa2xx_soc_platform,
.dai_link = &corgi_dai,
.num_links = 1,
};
Expand All @@ -325,7 +326,6 @@ static struct wm8731_setup_data corgi_wm8731_setup = {
/* corgi audio subsystem */
static struct snd_soc_device corgi_snd_devdata = {
.card = &snd_soc_corgi,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm8731,
.codec_data = &corgi_wm8731_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/e800_wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ static struct snd_soc_dai_link e800_dai[] = {

static struct snd_soc_card e800 = {
.name = "Toshiba e800",
.platform = &pxa2xx_soc_platform,
.dai_link = e800_dai,
.num_links = ARRAY_SIZE(e800_dai),
};

static struct snd_soc_device e800_snd_devdata = {
.card = &e800,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9712,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/em-x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ static struct snd_soc_dai_link em_x270_dai[] = {

static struct snd_soc_card em_x270 = {
.name = "EM-X270",
.platform = &pxa2xx_soc_platform,
.dai_link = em_x270_dai,
.num_links = ARRAY_SIZE(em_x270_dai),
};

static struct snd_soc_device em_x270_snd_devdata = {
.card = &em_x270,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9712,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/palm27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ static struct snd_soc_dai_link palm27x_dai[] = {

static struct snd_soc_card palm27x_asoc = {
.name = "Palm/PXA27x",
.platform = &pxa2xx_soc_platform,
.dai_link = palm27x_dai,
.num_links = ARRAY_SIZE(palm27x_dai),
};

static struct snd_soc_device palm27x_snd_devdata = {
.card = &palm27x_asoc,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9712,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/poodle.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ static struct snd_soc_dai_link poodle_dai = {
/* poodle audio machine driver */
static struct snd_soc_card snd_soc_poodle = {
.name = "Poodle",
.platform = &pxa2xx_soc_platform,
.dai_link = &poodle_dai,
.num_links = 1,
};
Expand All @@ -291,7 +292,6 @@ static struct wm8731_setup_data poodle_wm8731_setup = {
/* poodle audio subsystem */
static struct snd_soc_device poodle_snd_devdata = {
.card = &snd_soc_poodle,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm8731,
.codec_data = &poodle_wm8731_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ static struct snd_soc_dai_link spitz_dai = {
/* spitz audio machine driver */
static struct snd_soc_card snd_soc_spitz = {
.name = "Spitz",
.platform = &pxa2xx_soc_platform,
.dai_link = &spitz_dai,
.num_links = 1,
};
Expand All @@ -334,7 +335,6 @@ static struct wm8750_setup_data spitz_wm8750_setup = {
/* spitz audio subsystem */
static struct snd_soc_device spitz_snd_devdata = {
.card = &snd_soc_spitz,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm8750,
.codec_data = &spitz_wm8750_setup,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ static int tosa_remove(struct platform_device *dev)

static struct snd_soc_card tosa = {
.name = "Tosa",
.platform = &pxa2xx_soc_platform,
.dai_link = tosa_dai,
.num_links = ARRAY_SIZE(tosa_dai),
.probe = tosa_probe,
Expand All @@ -260,7 +261,6 @@ static struct snd_soc_card tosa = {

static struct snd_soc_device tosa_snd_devdata = {
.card = &tosa,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9712,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ static struct snd_soc_dai_link zylonite_dai[] = {

static struct snd_soc_card zylonite = {
.name = "Zylonite",
.platform = &pxa2xx_soc_platform,
.dai_link = zylonite_dai,
.num_links = ARRAY_SIZE(zylonite_dai),
};

static struct snd_soc_device zylonite_snd_ac97_devdata = {
.card = &zylonite,
.platform = &pxa2xx_soc_platform,
.codec_dev = &soc_codec_dev_wm9713,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/s3c24xx/ln2440sbc_alc650.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = {

static struct snd_soc_card ln2440sbc = {
.name = "LN2440SBC",
.platform = &s3c24xx_soc_platform,
.dai_link = ln2440sbc_dai,
.num_links = ARRAY_SIZE(ln2440sbc_dai),
};

static struct snd_soc_device ln2440sbc_snd_ac97_devdata = {
.card = &ln2440sbc,
.platform = &s3c24xx_soc_platform,
.codec_dev = &soc_codec_dev_ac97,
};

Expand Down
Loading

0 comments on commit 3a8c1fe

Please sign in to comment.