Searched hist:bc18e31c3042f14fa5f2ff5c21136e2fdf4140f8 (Results 1 – 2 of 2) sorted by relevance
/linux/sound/usb/ |
H A D | mixer.h | diff bc18e31c3042f14fa5f2ff5c21136e2fdf4140f8 Fri Aug 14 16:14:45 CEST 2015 Julian Scheel <julian@jusst.de> ALSA: usb-audio: Fix parameter block size for UAC2 control requests
USB Audio Class version 2.0 supports three different parameter block sizes for CUR requests, which are 1 byte (5.2.3.1 Layout 1 Parameter Block), 2 bytes (5.2.3.2 Layout 2 Parameter Block) and 4 bytes (5.2.3.3 Layout 3 Parameter Block). Use the correct size according to the specific control as it was already done for UACv1. The allocated block size for control requests is increased to support the 4 byte worst case.
Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | mixer.c | diff bc18e31c3042f14fa5f2ff5c21136e2fdf4140f8 Fri Aug 14 16:14:45 CEST 2015 Julian Scheel <julian@jusst.de> ALSA: usb-audio: Fix parameter block size for UAC2 control requests
USB Audio Class version 2.0 supports three different parameter block sizes for CUR requests, which are 1 byte (5.2.3.1 Layout 1 Parameter Block), 2 bytes (5.2.3.2 Layout 2 Parameter Block) and 4 bytes (5.2.3.3 Layout 3 Parameter Block). Use the correct size according to the specific control as it was already done for UACv1. The allocated block size for control requests is increased to support the 4 byte worst case.
Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
|