Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Laurent Pinchart and committed by
Greg Kroah-Hartman
315ad302 85e08ca5

+2 -1
-1
include/linux/usb/audio.h
··· 24 24 #define USB_SUBCLASS_AUDIOCONTROL 0x01 25 25 #define USB_SUBCLASS_AUDIOSTREAMING 0x02 26 26 #define USB_SUBCLASS_MIDISTREAMING 0x03 27 - #define USB_SUBCLASS_VENDOR_SPEC 0xff 28 27 29 28 /* A.5 Audio Class-Specific AC interface Descriptor Subtypes*/ 30 29 #define HEADER 0x01
+2
include/linux/usb/ch9.h
··· 258 258 #define USB_CLASS_APP_SPEC 0xfe 259 259 #define USB_CLASS_VENDOR_SPEC 0xff 260 260 261 + #define USB_SUBCLASS_VENDOR_SPEC 0xff 262 + 261 263 /*-------------------------------------------------------------------------*/ 262 264 263 265 /* USB_DT_CONFIG: Configuration descriptor information.