Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305797
b: refs/heads/master
c: 7df4a69
h: refs/heads/master
i:
  305795: 9cfc506
v: v3
  • Loading branch information
Mark Hills authored and Takashi Iwai committed May 11, 2012
1 parent 665923c commit 4cf5591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 0910c216f78d1097a4ac6dcc83b38809dea94160
refs/heads/master: 7df4a691fb6645405c9d3dad8d27f8e5e3451e00
12 changes: 2 additions & 10 deletions trunk/sound/usb/mixer_quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,8 @@ static int snd_create_std_mono_ctl(struct usb_mixer_interface *mixer,
cval->control = control;
cval->cmask = cmask;

/* FIXME: Do we need this?
* The following values are for compatibility with
* Ebox-44 mixer.
* But the corresponding ebox-44 function says:
* "Volume controls will override these values"
*
* These values don't have any effect at all for
* M-Audio FTUs.
* So I think, we can safely omit the range settings here.
*/
/* get_min_max() is called only for integer volumes later,
* so provide a short-cut for booleans */
cval->min = 0;
cval->max = 1;
cval->res = 0;
Expand Down

0 comments on commit 4cf5591

Please sign in to comment.