mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			35 lines
		
	
	
		
			915 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			915 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/drivers/usb/gadget/function/u_uac2.h	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/drivers/usb/gadget/function/u_uac2.h	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -1,3 +1,4 @@
 | |
| +// SPDX-License-Identifier: GPL-2.0
 | |
|  /*
 | |
|   * u_uac2.h
 | |
|   *
 | |
| @@ -7,10 +8,6 @@
 | |
|   *		http://www.samsung.com
 | |
|   *
 | |
|   * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
 | |
| - *
 | |
| - * This program is free software; you can redistribute it and/or modify
 | |
| - * it under the terms of the GNU General Public License version 2 as
 | |
| - * published by the Free Software Foundation.
 | |
|   */
 | |
|  
 | |
|  #ifndef U_UAC2_H
 | |
| @@ -24,6 +21,7 @@
 | |
|  #define UAC2_DEF_CCHMASK 0x3
 | |
|  #define UAC2_DEF_CSRATE 64000
 | |
|  #define UAC2_DEF_CSSIZE 2
 | |
| +#define UAC2_DEF_REQ_NUM 2
 | |
|  
 | |
|  struct f_uac2_opts {
 | |
|  	struct usb_function_instance	func_inst;
 | |
| @@ -33,6 +31,7 @@
 | |
|  	int				c_chmask;
 | |
|  	int				c_srate;
 | |
|  	int				c_ssize;
 | |
| +	int				req_number;
 | |
|  	bool				bound;
 | |
|  
 | |
|  	struct mutex			lock;
 |