ALSA: usb: mixer: volume quirk for CM102-A+/102S+
authorFederico Cuello <fedux@fedux.com.ar>
Tue, 8 May 2018 22:13:38 +0000 (00:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 16:53:55 +0000 (18:53 +0200)
commit13fe9058ed09d5f89c28afdf971614f0c70dc9d3
tree5c50752caf762e1c7186b23794f68a949b20f23f
parente842726eccf347212a9568470d78be268c513aad
ALSA: usb: mixer: volume quirk for CM102-A+/102S+

commit 21493316a3c4598f308d5a9fa31cc74639c4caff upstream.

Currently it's not possible to set volume lower than 26% (it just mutes).

Also fixes this warning:

  Warning! Unlikely big volume range (=9472), cval->res is probably wrong.
  [13] FU [PCM Playback Volume] ch = 2, val = -9473/-1/1

, and volume works fine for full range.

Signed-off-by: Federico Cuello <fedux@fedux.com.ar>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer.c