Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206559
b: refs/heads/master
c: f1df5ae
h: refs/heads/master
i:
  206557: 7ea2f12
  206555: 7776f9b
  206551: 00a2b7f
  206543: 7c0a478
  206527: 96a08ff
v: v3
  • Loading branch information
Mark Brown committed Jun 16, 2010
1 parent 3349f74 commit 2a01e73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: e71fa370428aa80e3acc3a49f8df1e76e7719347
refs/heads/master: f1df5aec68946e427eb4884c4d80e3259361478c
6 changes: 2 additions & 4 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2433,14 +2433,12 @@ int snd_soc_put_volsw_2r_sx(struct snd_kcontrol *kcontrol,
if (oval != val) {
ret = snd_soc_write(codec, mc->reg, val);
if (ret < 0)
return 0;
ret = 1;
return ret;
}
if (ovalr != valr) {
ret = snd_soc_write(codec, mc->rreg, valr);
if (ret < 0)
return 0;
ret = 1;
return ret;
}

return 0;
Expand Down

0 comments on commit 2a01e73

Please sign in to comment.