Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316120
b: refs/heads/master
c: e076eb5
h: refs/heads/master
v: v3
  • Loading branch information
Wang Xingchao authored and Takashi Iwai committed Jun 7, 2012
1 parent dd85650 commit 68549c4
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: 0f4ccbb02533276ab750961e150aeee06492ed7c
refs/heads/master: e076eb5c952c0f724980b44a77902a2ff93d098c
2 changes: 1 addition & 1 deletion trunk/sound/pci/hda/hda_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static void print_power_state(struct snd_info_buffer *buffer,
int sup = snd_hda_param_read(codec, nid, AC_PAR_POWER_STATE);
int pwr = snd_hda_codec_read(codec, nid, 0,
AC_VERB_GET_POWER_STATE, 0);
if (sup)
if (sup != -1)
snd_iprintf(buffer, " Power states: %s\n",
bits_names(sup, names, ARRAY_SIZE(names)));

Expand Down

0 comments on commit 68549c4

Please sign in to comment.