Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34850
b: refs/heads/master
c: bc6c531
h: refs/heads/master
v: v3
  • Loading branch information
Jaroslav Kysela committed Sep 23, 2006
1 parent 199c8a1 commit 4f11b66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: b7c6b03405896bc181e1e2c9c06628c3b1681af5
refs/heads/master: bc6c531eb53de8a0ba355f76ce2bd28f58e46707
7 changes: 0 additions & 7 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,13 +856,6 @@ int snd_hda_mixer_amp_tlv(struct snd_kcontrol *kcontrol, int op_flag,
val2 = (((caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT) + 1) * 25;
val1 = -((caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT);
val1 = ((int)val1) * ((int)val2);
if (caps & AC_AMPCAP_MUTE)
val2 |= 0x10000;
if ((val2 & 0x10000) == 0 && dir == HDA_OUTPUT) {
caps = query_amp_caps(codec, nid, HDA_INPUT);
if (caps & AC_AMPCAP_MUTE)
val2 |= 0x10000;
}
if (put_user(SNDRV_CTL_TLVT_DB_SCALE, _tlv))
return -EFAULT;
if (put_user(2 * sizeof(unsigned int), _tlv + 1))
Expand Down

0 comments on commit 4f11b66

Please sign in to comment.