Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270820
b: refs/heads/master
c: 4f5448a
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Oct 10, 2011
1 parent e0996d2 commit 8bfd018
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 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: 6179b772ac6ac2209096753e2aa91edb9c3988a5
refs/heads/master: 4f5448ae4b1b877c777a6f96af7bef31f505936d
10 changes: 5 additions & 5 deletions trunk/sound/soc/samsung/s3c24xx_simtec_hermes.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ static int simtec_hermes_init(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dapm_context *dapm = &codec->dapm;

snd_soc_dapm_new_controls(dapm, dapm_widgets,
ARRAY_SIZE(dapm_widgets));

snd_soc_dapm_add_routes(dapm, base_map, ARRAY_SIZE(base_map));

snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
snd_soc_dapm_enable_pin(dapm, "Line In");
snd_soc_dapm_enable_pin(dapm, "Line Out");
Expand All @@ -95,6 +90,11 @@ static struct snd_soc_card snd_soc_machine_simtec_aic33 = {
.name = "Simtec-Hermes",
.dai_link = &simtec_dai_aic33,
.num_links = 1,

.dapm_widgets = dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(dapm_widgets),
.dapm_routes = base_map,
.num_dapm_routes = ARRAY_SIZE(base_map),
};

static int __devinit simtec_audio_hermes_probe(struct platform_device *pd)
Expand Down
10 changes: 5 additions & 5 deletions trunk/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ static int simtec_tlv320aic23_init(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dapm_context *dapm = &codec->dapm;

snd_soc_dapm_new_controls(dapm, dapm_widgets,
ARRAY_SIZE(dapm_widgets));

snd_soc_dapm_add_routes(dapm, base_map, ARRAY_SIZE(base_map));

snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
snd_soc_dapm_enable_pin(dapm, "Line In");
snd_soc_dapm_enable_pin(dapm, "Line Out");
Expand All @@ -84,6 +79,11 @@ static struct snd_soc_card snd_soc_machine_simtec_aic23 = {
.name = "Simtec",
.dai_link = &simtec_dai_aic23,
.num_links = 1,

.dapm_widgets = dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(dapm_widgets),
.dapm_routes = base_map,
.num_dapm_routes = ARRAY_SIZE(base_map),
};

static int __devinit simtec_audio_tlv320aic23_probe(struct platform_device *pd)
Expand Down

0 comments on commit 8bfd018

Please sign in to comment.