Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120529
b: refs/heads/master
c: 5c0b9be
h: refs/heads/master
i:
  120527: 1ed1a43
v: v3
  • Loading branch information
Takashi Iwai committed Dec 11, 2008
1 parent 8f2f174 commit 9a5e320
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 11d518e07d700eeb5bcec36bfd5f501e405230dd
refs/heads/master: 5c0b9bec460c348d2ee5a800c288e5d0e8fcda66
13 changes: 6 additions & 7 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1900,6 +1900,12 @@ static void azx_power_notify(struct hda_bus *bus)
else if (chip->running && power_save_controller)
azx_stop_chip(chip);
}
#endif /* CONFIG_SND_HDA_POWER_SAVE */

#ifdef CONFIG_PM
/*
* power management
*/

static int snd_hda_codecs_inuse(struct hda_bus *bus)
{
Expand All @@ -1911,14 +1917,7 @@ static int snd_hda_codecs_inuse(struct hda_bus *bus)
}
return 0;
}
#else /* !CONFIG_SND_HDA_POWER_SAVE */
#define snd_hda_codecs_inuse(bus) 1
#endif /* CONFIG_SND_HDA_POWER_SAVE */

#ifdef CONFIG_PM
/*
* power management
*/
static int azx_suspend(struct pci_dev *pci, pm_message_t state)
{
struct snd_card *card = pci_get_drvdata(pci);
Expand Down

0 comments on commit 9a5e320

Please sign in to comment.