Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248287
b: refs/heads/master
c: 1331969
h: refs/heads/master
i:
  248285: 098ca61
  248283: ea1715d
  248279: 4a196d2
  248271: f835492
  248255: 7705ecf
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Apr 13, 2011
1 parent c9ee4df commit f42bb4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: d06e48db1670b29b3f62f1dfe4a36af237d5aa0d
refs/heads/master: 13319699113a78e90625ece124666d3ee53033f6
11 changes: 5 additions & 6 deletions trunk/sound/soc/jz4740/qi_lb60.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ static int qi_lb60_codec_init(struct snd_soc_pcm_runtime *rtd)
return ret;
}

snd_soc_dapm_new_controls(dapm, qi_lb60_widgets,
ARRAY_SIZE(qi_lb60_widgets));
snd_soc_dapm_add_routes(dapm, qi_lb60_routes,
ARRAY_SIZE(qi_lb60_routes));
snd_soc_dapm_sync(dapm);

return 0;
}

Expand All @@ -93,6 +87,11 @@ static struct snd_soc_card qi_lb60 = {
.name = "QI LB60",
.dai_link = &qi_lb60_dai,
.num_links = 1,

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

static struct platform_device *qi_lb60_snd_device;
Expand Down

0 comments on commit f42bb4e

Please sign in to comment.