]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Fix forgotten conversion of control query functions
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Apr 2018 06:59:36 +0000 (08:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Apr 2018 14:20:29 +0000 (16:20 +0200)
commit29370de919bb0950ef12cbba72ed0505054381aa
tree7e596fb903c04702e97196809b012430d5a3c799
parent8a078d94cd8623a30cb3a7e53257aef7f1f3aed1
ALSA: usb-audio: Fix forgotten conversion of control query functions

The recent code refactoring made the argument for some helper
functions to be the explicit UAC_CS_* and UAC2_CS_* value instead of
0-based offset.  However, there was one place left forgotten, and it
caused a regression on some devices appearing as the inconsistent
mixer setup.

This patch corrects the forgotten conversion.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199449
Fixes: 7916bc789bd7 ("ALSA: usb-audio: fix uac control query argument")
Tested-by: Nazar Mokrynskyi <nazar@mokrynskyi.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c