mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h
USB_SUBCLASS_VENDOR_SPEC is common to several USB classes and as such belongs to usb/ch9.h. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
85e08ca54c
commit
315ad3028c
2 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,6 @@
|
||||||
#define USB_SUBCLASS_AUDIOCONTROL 0x01
|
#define USB_SUBCLASS_AUDIOCONTROL 0x01
|
||||||
#define USB_SUBCLASS_AUDIOSTREAMING 0x02
|
#define USB_SUBCLASS_AUDIOSTREAMING 0x02
|
||||||
#define USB_SUBCLASS_MIDISTREAMING 0x03
|
#define USB_SUBCLASS_MIDISTREAMING 0x03
|
||||||
#define USB_SUBCLASS_VENDOR_SPEC 0xff
|
|
||||||
|
|
||||||
/* A.5 Audio Class-Specific AC interface Descriptor Subtypes*/
|
/* A.5 Audio Class-Specific AC interface Descriptor Subtypes*/
|
||||||
#define HEADER 0x01
|
#define HEADER 0x01
|
||||||
|
|
|
@ -258,6 +258,8 @@ struct usb_device_descriptor {
|
||||||
#define USB_CLASS_APP_SPEC 0xfe
|
#define USB_CLASS_APP_SPEC 0xfe
|
||||||
#define USB_CLASS_VENDOR_SPEC 0xff
|
#define USB_CLASS_VENDOR_SPEC 0xff
|
||||||
|
|
||||||
|
#define USB_SUBCLASS_VENDOR_SPEC 0xff
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*/
|
/*-------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/* USB_DT_CONFIG: Configuration descriptor information.
|
/* USB_DT_CONFIG: Configuration descriptor information.
|
||||||
|
|
Loading…
Reference in a new issue