Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230347
b: refs/heads/master
c: 1badabd
h: refs/heads/master
i:
  230345: 005fe94
  230343: 8b76c6c
v: v3
  • Loading branch information
Mark Brown committed Dec 6, 2010
1 parent 9c600cf commit d4aed4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28216bf48bbe4314a7a02b7c9822dbb26aca530c
refs/heads/master: 1badabd980da3bc09933c14970017067940ecd57
2 changes: 2 additions & 0 deletions trunk/include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ struct snd_soc_card {
/* callbacks */
int (*set_bias_level)(struct snd_soc_card *,
enum snd_soc_bias_level level);
int (*set_bias_level_post)(struct snd_soc_card *,
enum snd_soc_bias_level level);

long pmdown_time;

Expand Down
4 changes: 4 additions & 0 deletions trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ static int snd_soc_dapm_set_bias_level(struct snd_soc_card *card,
else
dapm->bias_level = level;
}
if (ret == 0) {
if (card && card->set_bias_level_post)
ret = card->set_bias_level_post(card, level);
}

trace_snd_soc_bias_level_done(card, level);

Expand Down

0 comments on commit d4aed4a

Please sign in to comment.