mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 08:08:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								drivers/misc/samsung/scsc/scsc_loopback.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								drivers/misc/samsung/scsc/scsc_loopback.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| #ifndef __HCI_LOOPBACK_H | ||||
| #define __HCI_LOOPBACK_H | ||||
| /**
 | ||||
|  * Loopback Protocol (Interface) | ||||
|  * | ||||
|  * Bounces anything send straight back. | ||||
|  */ | ||||
| 
 | ||||
| #include "scsc_mport.h" | ||||
| 
 | ||||
| /*****************************************************************************/ | ||||
| 
 | ||||
| struct scsc_loopback { | ||||
| 	struct scsc_mport port; | ||||
| }; | ||||
| 
 | ||||
| /*****************************************************************************/ | ||||
| 
 | ||||
| void scsc_loopback_init(struct scsc_loopback *loopback); | ||||
| void scsc_loopback_deinit(struct scsc_loopback *loopback); | ||||
| 
 | ||||
| struct scsc_mport *scsc_loopback_get_port(struct scsc_loopback *loopback); | ||||
| 
 | ||||
| #endif /* __HCI_LOOPBACK_H */ | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228