Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45420
b: refs/heads/master
c: 8c67071
h: refs/heads/master
v: v3
  • Loading branch information
Timofei V. Bondarenko authored and Jaroslav Kysela committed Jan 9, 2007
1 parent 4b3068e commit 40e5871
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: 6afeb11de5b28e47adea1459c35e598bb98424d6
refs/heads/master: 8c670714223d58086695d007b76b3e3ead54e4f5
3 changes: 2 additions & 1 deletion trunk/sound/pci/cmipci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,8 @@ static int _snd_cmipci_uswitch_put(struct snd_kcontrol *kcontrol,
val = inb(cm->iobase + args->reg);
else
val = snd_cmipci_read(cm, args->reg);
change = (val & args->mask) != (ucontrol->value.integer.value[0] ? args->mask : 0);
change = (val & args->mask) != (ucontrol->value.integer.value[0] ?
args->mask_on : (args->mask & ~args->mask_on));
if (change) {
val &= ~args->mask;
if (ucontrol->value.integer.value[0])
Expand Down

0 comments on commit 40e5871

Please sign in to comment.