Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321907
b: refs/heads/master
c: e037cb4
h: refs/heads/master
i:
  321905: 42c26fb
  321903: a82e56a
v: v3
  • Loading branch information
Mengdong Lin authored and Takashi Iwai committed Aug 10, 2012
1 parent 0ad2683 commit 6ede74a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 14bc9c6dc694e2d7930802f7afd275de25ef8394
refs/heads/master: e037cb4a54e26b5f55f856e0e7445cfcfb2f3d31
2 changes: 1 addition & 1 deletion trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -3497,7 +3497,7 @@ static bool snd_hda_codec_get_supported_ps(struct hda_codec *codec, hda_nid_t fg
{
int sup = snd_hda_param_read(codec, fg, AC_PAR_POWER_STATE);

if (sup < 0)
if (sup == -1)
return false;
if (sup & power_state)
return true;
Expand Down

0 comments on commit 6ede74a

Please sign in to comment.