commit | 55b8cb46a71137aa19eba2ae5a4be384500db89e | [log] [tgz] |
---|---|---|
author | Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> | Wed Jul 11 13:37:55 2018 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jul 16 16:36:15 2018 +0200 |
tree | 5adfd2e429c8f82af43d0d4d4685728eed28f94c | |
parent | 8b3a087f7f6580e685a4f1ac980d07f96ad250a5 [diff] |
ALSA: usb-audio: Tidy up logic for Processing Unit min/max values This patch refactors the processing units min/max calculation logic for the mixer controls and fixes an issue where the Mode Select checking of the Up/Down mixers doesn't differentiate between the UAC1 and UAC2 Control Selector (0x02) and the UAC3 one which is different (0x01). Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>