diff options
author | Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> | 2018-07-11 13:37:52 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-16 16:35:09 +0200 |
commit | 4e887af31cedec0d3b24521a5c3c14c3a190422b (patch) | |
tree | 92f1287c12ba898c373ea93fd843bfcab032484b /kernel | |
parent | c77e1ef1cdf74dba09edfa706fecc9fddd7bd084 (diff) | |
download | linux-stable-4e887af31cedec0d3b24521a5c3c14c3a190422b.tar.gz linux-stable-4e887af31cedec0d3b24521a5c3c14c3a190422b.tar.bz2 linux-stable-4e887af31cedec0d3b24521a5c3c14c3a190422b.zip |
ALSA: usb-audio: Processing Unit controls parsing in UAC2
Current support for UAC2 Processing Units does the parsing
as one control per bit in the bitmap. However, the UAC2 spec
defines the controls as bit pairs where b01 means read-only
and b11 means read/write control.
This patch fixes that and uses the helper functions for checking
controls readability/writability when the control is defined as
bit pairs (UAC2 and UAC3).
Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions