Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284027
b: refs/heads/master
c: 5f5de18
h: refs/heads/master
i:
  284025: 914385c
  284023: 0a19a89
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 28, 2011
1 parent f9d736f commit c3c3c5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 7e0d6ac0d894ebae2ff85ea6108dd065a274dfb9
refs/heads/master: 5f5de18a7f81382fead581efc489dfcfa34601af
10 changes: 5 additions & 5 deletions trunk/sound/soc/kirkwood/kirkwood-t5325.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ static int t5325_dai_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, t5325_dapm_widgets,
ARRAY_SIZE(t5325_dapm_widgets));

snd_soc_dapm_add_routes(dapm, t5325_route, ARRAY_SIZE(t5325_route));

snd_soc_dapm_enable_pin(dapm, "Mic Jack");
snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
snd_soc_dapm_enable_pin(dapm, "Speaker");
Expand Down Expand Up @@ -91,6 +86,11 @@ static struct snd_soc_card t5325 = {
.owner = THIS_MODULE,
.dai_link = t5325_dai,
.num_links = ARRAY_SIZE(t5325_dai),

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

static struct platform_device *t5325_snd_device;
Expand Down

0 comments on commit c3c3c5c

Please sign in to comment.