Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92092
b: refs/heads/master
c: ff14387
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Takashi Iwai committed Apr 24, 2008
1 parent becc899 commit 48286e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: c3daa92d60552891057b65f278d882348b76fffe
refs/heads/master: ff143874d09a5850e7bf6c68d141243cb12a7b58
6 changes: 3 additions & 3 deletions trunk/sound/pci/oxygen/virtuoso.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,12 @@ static void xonar_gpio_changed(struct oxygen *chip)

static void mute_ac97_ctl(struct oxygen *chip, unsigned int control)
{
unsigned int index = chip->controls[control]->private_value & 0xff;
unsigned int priv_idx = chip->controls[control]->private_value & 0xff;
u16 value;

value = oxygen_read_ac97(chip, 0, index);
value = oxygen_read_ac97(chip, 0, priv_idx);
if (!(value & 0x8000)) {
oxygen_write_ac97(chip, 0, index, value | 0x8000);
oxygen_write_ac97(chip, 0, priv_idx, value | 0x8000);
snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_VALUE,
&chip->controls[control]->id);
}
Expand Down

0 comments on commit 48286e1

Please sign in to comment.