Files
kernel_google_msm-4.14/include/linux/usb
Andrew Chant e613dded30 BACKPORT: ALSA: usb-audio: fix uac control query argument
This patch fixes code readability and should have no functional change.

Correct uac control query functions to account for the 1-based indexing
of USB Audio Class control identifiers.

The function parameter, u8 control, should be the
constant defined in audio-v2.h to identify the control to be checked for
readability or writeability.

This patch fixes all callers that had adjusted, and makes explicit
the mapping between audio_feature_info[] array index and the associated
control identifier.

(backported from
commit 21e9b3e931f7 ("ALSA: usb-audio: fix uac control query argument")
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next)

Bug: 70632415
Change-Id: I3b2f96969050434da1a6c859d8c30b735bae58f1
Signed-off-by: Andrew Chant <achant@google.com>
(cherry picked from commit cb5710c04c1297c7b0ad7e24ddb466b323ad2c02)
2019-04-29 17:21:16 +00:00
..
2018-09-26 08:25:04 -07:00
2018-09-26 08:25:04 -07:00
2018-09-26 08:25:14 -07:00
2019-03-01 19:31:20 -08:00