Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257718
b: refs/heads/master
c: ff2b7e2
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jun 28, 2011
1 parent 457a484 commit 8e23a63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 880a050f4ac4399c9da4aea3ca19a701f9a727e0
refs/heads/master: ff2b7e2a3fdb341a235e0b2eccc3c8914d26c1fb
6 changes: 2 additions & 4 deletions trunk/sound/pci/hda/hda_codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -1011,17 +1011,15 @@ int snd_hda_suspend(struct hda_bus *bus);
int snd_hda_resume(struct hda_bus *bus);
#endif

#ifdef CONFIG_SND_HDA_POWER_SAVE
static inline
int hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid)
{
#ifdef CONFIG_SND_HDA_POWER_SAVE
if (codec->patch_ops.check_power_status)
return codec->patch_ops.check_power_status(codec, nid);
#endif
return 0;
}
#else
#define hda_call_check_power_status(codec, nid) 0
#endif

/*
* get widget information
Expand Down

0 comments on commit 8e23a63

Please sign in to comment.