Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206472
b: refs/heads/master
c: 7ccc3ef
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jul 26, 2010
1 parent a1d2161 commit 36aaf0d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2385b789f1525542396d8f6b0cc37c1eb2493b4c
refs/heads/master: 7ccc3eface57b6e1773fce009dac8a3da081b8b1
3 changes: 2 additions & 1 deletion trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,8 @@ update_amp_value(struct hda_codec *codec, hda_nid_t nid,

if (val > 0)
val += ofs;
maxval = get_amp_max_value(codec, nid, dir, ofs);
/* ofs = 0: raw max value */
maxval = get_amp_max_value(codec, nid, dir, 0);
if (val > maxval)
val = maxval;
return snd_hda_codec_amp_update(codec, nid, ch, dir, idx,
Expand Down

0 comments on commit 36aaf0d

Please sign in to comment.