mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	ipq40xx: dont panic on PSGMII calibration fail
Currently, in case that PSGMII calibration fails it will panic the kernel which is not ideal and is preventing any debugging to be done. So, since PGMII calibration failing only means that wired networking wont work lets convet the panic() call to dev_error. Link: https://github.com/openwrt/openwrt/pull/15542 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
		
							parent
							
								
									0f5c28b96b
								
							
						
					
					
						commit
						4a78c46cbd
					
				@ -654,7 +654,7 @@ Signed-off-by: Robert Marko <robert.marko@sartura.hr>
 | 
				
			|||||||
+		}
 | 
					+		}
 | 
				
			||||||
+	}
 | 
					+	}
 | 
				
			||||||
+
 | 
					+
 | 
				
			||||||
+	panic("PSGMII work is unstable !!! "
 | 
					+	dev_err(priv->dev, "PSGMII work is unstable !!! "
 | 
				
			||||||
+		"Repeated recalibration attempts did not help(0x%x) !\n",
 | 
					+		"Repeated recalibration attempts did not help(0x%x) !\n",
 | 
				
			||||||
+		test_result);
 | 
					+		test_result);
 | 
				
			||||||
+
 | 
					+
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user