]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE
authorDaniel Mack <daniel@caiaq.de>
Fri, 11 Jun 2010 15:34:20 +0000 (17:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jun 2010 16:05:38 +0000 (18:05 +0200)
commitea9d79dec93a741e055d5fdd04584eaeda322097
tree29cbf68f8e64bdb237ca4e0b6a8da9e3211119b1
parenta6e51fdf72a416008c9d98cf12a30db947a29e5c
ALSA: usb-audio: fix control messages for USB_RECIP_INTERFACE

Control messages directed to an interface must have the interface number
set in the lower 8 bits of wIndex. This wasn't done correctly for some
clock and mixer messages.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Reported-by: Alex Lee <alexlee188@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/format.c
sound/usb/helper.h