mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			923 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			923 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/drivers/usb/gadget/function/u_uvc.h	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/drivers/usb/gadget/function/u_uvc.h	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -52,6 +52,7 @@
 | |
|  	struct uvc_processing_unit_descriptor		uvc_processing;
 | |
|  	struct uvc_output_terminal_descriptor		uvc_output_terminal;
 | |
|  	struct uvc_color_matching_descriptor		uvc_color_matching;
 | |
| +	struct UVC_EXTENSION_UNIT_DESCRIPTOR(1, 2) 	uvc_extension;
 | |
|  
 | |
|  	/*
 | |
|  	 * Control descriptors pointers arrays for full-/high-speed and
 | |
| @@ -60,8 +61,8 @@
 | |
|  	 * descriptors. Used by configfs only, must not be touched by legacy
 | |
|  	 * gadgets.
 | |
|  	 */
 | |
| -	struct uvc_descriptor_header			*uvc_fs_control_cls[5];
 | |
| -	struct uvc_descriptor_header			*uvc_ss_control_cls[5];
 | |
| +	struct uvc_descriptor_header			*uvc_fs_control_cls[6];
 | |
| +	struct uvc_descriptor_header			*uvc_ss_control_cls[6];
 | |
|  
 | |
|  	/*
 | |
|  	 * Streaming descriptors for full-speed, high-speed and super-speed.
 |