[alsa-devel] [PATCH 4/4] ALSA: usb-audio: fix UAC2 control value queries

Daniel Mack daniel at caiaq.de
Fri Jun 11 15:51:21 CEST 2010


On Fri, Jun 11, 2010 at 03:33:11PM +0200, Daniel Mack wrote:
> UAC2 controls can be queried in 1-byte, 2-byte or 4-byte request blocks.
> The size is actually determined by the number of bytes requested, and as
> everything is little-endian, we can always go for the 4-byte variant.
> 
> Also, the MIN, MAX and RES value computations were using a wrong offset.
> 
> Signed-off-by: Daniel Mack <daniel at caiaq.de>
> Reported-by: Alex Lee <alexlee188 at gmail.com>

Damn, I forgot to pick the right commit message for this patch. Below is
a new version. Sorry.

Daniel



More information about the Alsa-devel mailing list