mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	IB/hfi1: Use pci_try_reset_bus() for initiating PCI Secondary Bus Reset
Getting ready to hide pci_reset_bridge_secondary_bus() from the drivers. pci_reset_bridge_secondary_bus() should only be used internally by the PCI code itself. Other drivers should rely on higher level pci_try_reset_bus() API. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
		
							parent
							
								
									1842623850
								
							
						
					
					
						commit
						409888e096
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -905,9 +905,7 @@ static int trigger_sbr(struct hfi1_devdata *dd)
 | 
				
			||||||
	 * delay after a reset is required.  Per spec requirements,
 | 
						 * delay after a reset is required.  Per spec requirements,
 | 
				
			||||||
	 * the link is either working or not after that point.
 | 
						 * the link is either working or not after that point.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	pci_reset_bridge_secondary_bus(dev->bus->self);
 | 
						return pci_try_reset_bus(dev->bus);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	return 0;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue