linux-stable/include/linux/usb
Andrew Chant 21e9b3e931 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.

Signed-off-by: Andrew Chant <achant@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-03-23 10:25:03 +01:00
..
association.h
atmel_usba_udc.h
audio-v2.h ALSA: usb-audio: fix uac control query argument 2018-03-23 10:25:03 +01:00
audio-v3.h ALSA: usb: initial USB Audio Device Class 3.0 support 2018-03-21 11:46:33 +01:00
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h
chipidea.h
composite.h
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: add isoch_delay member 2017-12-11 12:36:48 +02:00
gadget_configfs.h
gpio_vbus.h
hcd.h
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
musb-ux500.h
musb.h
net2280.h
of.h USB: of: clean up device-node helper 2017-11-28 15:12:38 +01:00
ohci_pdriver.h
otg-fsm.h
otg.h
pd.h typec: tcpm: Validate source and sink caps 2017-12-07 16:03:15 +01:00
pd_bdo.h
pd_vdo.h usb: pd: fix the offset for SVID specific commands 2017-12-19 11:47:23 +01:00
phy.h
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h
tcpm.h typec: tcpm: Validate source and sink caps 2017-12-07 16:03:15 +01:00
tegra_usb_phy.h
tilegx.h
typec.h
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h usbnet: fix alignment for frames with no ethernet header 2017-12-07 14:32:30 -05:00
wusb-wa.h
wusb.h
xhci-dbgp.h