Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156384
b: refs/heads/master
c: 4b35d2c
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Takashi Iwai committed Aug 3, 2009
1 parent 9e28db8 commit d44414c
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: 84d3dc200fc8b878acf7c1840b238e6a0450e4d0
refs/heads/master: 4b35d2ca2307d40ccb6b3b6f9cc25ac9178b2a6c
2 changes: 1 addition & 1 deletion trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ static int alc_pin_mode_get(struct snd_kcontrol *kcontrol,

/* Find enumerated value for current pinctl setting */
i = alc_pin_mode_min(dir);
while (alc_pin_mode_values[i] != pinctl && i <= alc_pin_mode_max(dir))
while (i <= alc_pin_mode_max(dir) && alc_pin_mode_values[i] != pinctl)
i++;
*valp = i <= alc_pin_mode_max(dir) ? i: alc_pin_mode_min(dir);
return 0;
Expand Down

0 comments on commit d44414c

Please sign in to comment.