From 4cf55919a98b1a612ea2ca0078606cbcdaf188d2 Mon Sep 17 00:00:00 2001 From: Mark Hills Date: Fri, 11 May 2012 18:31:55 +0100 Subject: [PATCH] --- yaml --- r: 305797 b: refs/heads/master c: 7df4a691fb6645405c9d3dad8d27f8e5e3451e00 h: refs/heads/master i: 305795: 9cfc506a14ec49063f62c671735a6e4d9c07049a v: v3 --- [refs] | 2 +- trunk/sound/usb/mixer_quirks.c | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 0a1a53b05d7f..8c7bbfaa67fc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0910c216f78d1097a4ac6dcc83b38809dea94160 +refs/heads/master: 7df4a691fb6645405c9d3dad8d27f8e5e3451e00 diff --git a/trunk/sound/usb/mixer_quirks.c b/trunk/sound/usb/mixer_quirks.c index 12125ca7167f..41f4b6911920 100644 --- a/trunk/sound/usb/mixer_quirks.c +++ b/trunk/sound/usb/mixer_quirks.c @@ -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;