ALSA: usb-audio: Set the Control Selector to SU_SELECTOR_CONTROL for UAC2
authorJohan Rastén <johan@oljud.se>
Mon, 17 Nov 2014 07:39:33 +0000 (08:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Nov 2014 13:01:24 +0000 (14:01 +0100)
commita358a0ef861dae6f8330fb034aaa43adae71ebc1
treeb3e4099f9f61c85bd194ff1cc8253b01fab8533a
parent6e84a8d7ac3ba246ef44e313e92bc16a1da1b04a
ALSA: usb-audio: Set the Control Selector to SU_SELECTOR_CONTROL for UAC2

Specified in section 5.2.5.6.1 of the USB Audio Class 2.0 definition.

Solves the following error for C-Media 6632A (Asus Xonar U7):
[ 8219.676164] cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0x1400, type = 3

Signed-off-by: Johan Rastén <johan@oljud.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c