Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283724
b: refs/heads/master
c: c9be842
h: refs/heads/master
v: v3
  • Loading branch information
Leon Romanovsky authored and Mark Brown committed Nov 16, 2011
1 parent 87bb7e4 commit c705320
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 6662ff5c3b8efe8c107118d9506ad65daf3e3a1b
refs/heads/master: c9be8427b1dbd5e9d0313762fb80b2633abb694b
5 changes: 5 additions & 0 deletions trunk/sound/soc/codecs/alc5632.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ static struct snd_soc_dai_driver alc5632_dai = {
.symmetric_rates = 1,
};

#ifdef CONFIG_PM
static int alc5632_suspend(struct snd_soc_codec *codec, pm_message_t mesg)
{
alc5632_set_bias_level(codec, SND_SOC_BIAS_OFF);
Expand All @@ -961,6 +962,10 @@ static int alc5632_resume(struct snd_soc_codec *codec)
alc5632_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;
}
#else
#define alc5632_suspend NULL
#define alc5632_resume NULL
#endif

static int alc5632_probe(struct snd_soc_codec *codec)
{
Expand Down

0 comments on commit c705320

Please sign in to comment.