Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156143
b: refs/heads/master
c: 78735cf
h: refs/heads/master
i:
  156141: d4b6aab
  156139: b96f44c
  156135: 4553461
  156127: 278178b
v: v3
  • Loading branch information
Roel Kluin authored and Takashi Iwai committed Jul 29, 2009
1 parent 91bc4d5 commit 05b1f92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 626f5cefc60b281a00db1402b82deff82080c70a
refs/heads/master: 78735cffc2d9ab0dec32f1ba7cbc1d84b45bbf29
4 changes: 2 additions & 2 deletions trunk/sound/pci/hda/hda_eld.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ static void hdmi_write_eld_info(struct snd_info_entry *entry,
char name[64];
char *sname;
long long val;
int n;
unsigned int n;

while (!snd_info_get_line(buffer, line, sizeof(line))) {
if (sscanf(line, "%s %llx", name, &val) != 2)
Expand Down Expand Up @@ -539,7 +539,7 @@ static void hdmi_write_eld_info(struct snd_info_entry *entry,
sname++;
n = 10 * n + name[4] - '0';
}
if (n < 0 || n > 31) /* double the CEA limit */
if (n >= ELD_MAX_SAD)
continue;
if (!strcmp(sname, "_coding_type"))
e->sad[n].format = val;
Expand Down

0 comments on commit 05b1f92

Please sign in to comment.