]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: fix missing input volume controls in MAYA44 USB(+)
authorClemens Ladisch <clemens@ladisch.de>
Wed, 3 Jun 2015 09:36:51 +0000 (11:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Jun 2015 09:58:15 +0000 (11:58 +0200)
commit51df9f235d9cbfe9a4acd4f816f1c6e300c10155
tree5e105a6859798038204b1327738cd407f87a216f
parentcf96219abc9c0cc5424de8c27043d9b817b33fc6
ALSA: usb-audio: fix missing input volume controls in MAYA44 USB(+)

The driver worked around an error in the MAYA44 USB(+)'s mixer unit
descriptor by aborting before parsing the missing field.  However,
aborting parsing too early prevented parsing of the other units
connected to this unit, so the capture mixer controls would be missing.

Fix this by moving the check for this descriptor error after the parsing
of the unit's input pins.

Reported-by: nightmixes <nightmixes@gmail.com>
Tested-by: nightmixes <nightmixes@gmail.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c