mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	Davinci: serial - conditional reset via pwremu
With this patch, AR7 type uart ports are not reset via pwremu registers. This allows davinci_serial_init() reuse on tnetv107x soc. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
		
							parent
							
								
									9ee1acefa8
								
							
						
					
					
						commit
						e2800007f3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -107,7 +107,7 @@ int __init davinci_serial_init(struct davinci_uart_config *info)
 | 
			
		|||
				pr_err("uart regs ioremap failed\n");
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (p->membase)
 | 
			
		||||
		if (p->membase && p->type != PORT_AR7)
 | 
			
		||||
			davinci_serial_reset(p);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue