summaryrefslogtreecommitdiff
path: root/sound/pci/asihpi/hpipcida.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-06-11 19:34:22 +0400
committerTakashi Iwai <tiwai@suse.de>2010-06-11 20:06:35 +0400
commite8bdb6bbab60a8731f21823c86391f176d052348 (patch)
tree3ee6716941a195b4a1110ff5320c3ab9f29c77a7 /sound/pci/asihpi/hpipcida.h
parent67c103664a06fa590f2990c01773dfa1dffcefdc (diff)
downloadlinux-e8bdb6bbab60a8731f21823c86391f176d052348.tar.xz
ALSA: usb-audio: fix UAC2 control value queries
For RANGE requests, we should only query as much bytes as we're in fact interested in. For CUR requests, we shouldn't confuse the firmware with an overlong request but just ask for 2 bytes. This might need fixing in the future as it's not entirely clear when to dispatch 1-byte, 2-byte and 4-byte request blocks. For now, we assume everything is coded in 16bit - this works for all firmware implementations I've seen. Signed-off-by: Daniel Mack <daniel@caiaq.de> Reported-by: Alex Lee <alexlee188@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpipcida.h')
0 files changed, 0 insertions, 0 deletions