Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316117
b: refs/heads/master
c: 167d2d5
h: refs/heads/master
i:
  316115: 45427c7
v: v3
  • Loading branch information
Takashi Iwai committed Jun 6, 2012
1 parent f977a34 commit 199bd26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ce63f3ba256a48023b425a4a6792f8da03d00948
refs/heads/master: 167d2d55bfb4628169a57e3adbb1e5b097dca0f5
6 changes: 3 additions & 3 deletions trunk/sound/pci/hda/hda_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,10 @@ static void print_digital_conv(struct snd_info_buffer *buffer,

static const char *get_pwr_state(u32 state)
{
static const char * const buf[4] = {
"D0", "D1", "D2", "D3"
static const char * const buf[] = {
"D0", "D1", "D2", "D3", "D3cold"
};
if (state < 4)
if (state < ARRAY_SIZE(buf))
return buf[state];
return "UNKNOWN";
}
Expand Down

0 comments on commit 199bd26

Please sign in to comment.