Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81511
b: refs/heads/master
c: dec44db
h: refs/heads/master
i:
  81509: 245c03d
  81507: 68fded1
  81503: ff14774
v: v3
  • Loading branch information
Kamalesh Babulal authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 40056ae commit 9c03ac0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f673dc829bc8a9805d82df14a3e08b94f3d6fd50
refs/heads/master: dec44dbe017f824ce46cdd66b39fa9b98a076ce1
4 changes: 2 additions & 2 deletions trunk/sound/ppc/tumbler.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ static int snapper_get_capture_source(struct snd_kcontrol *kcontrol,
struct pmac_tumbler *mix = chip->mixer_data;

snd_assert(mix, return -ENODEV);
ucontrol->value.enumerated.value[0] = mix->capture_source;
ucontrol->value.enumerated.item[0] = mix->capture_source;
return 0;
}

Expand All @@ -821,7 +821,7 @@ static int snapper_put_capture_source(struct snd_kcontrol *kcontrol,
int change;

snd_assert(mix, return -ENODEV);
change = ucontrol->value.enuemerated.item[0] != mix->capture_source;
change = ucontrol->value.enumerated.item[0] != mix->capture_source;
if (change) {
mix->capture_source = !!ucontrol->value.enumerated.item[0];
snapper_set_capture_source(mix);
Expand Down

0 comments on commit 9c03ac0

Please sign in to comment.