diff options
author | Robert Marko <robimarko@gmail.com> | 2024-05-22 16:55:51 +0200 |
---|---|---|
committer | Robert Marko <robimarko@gmail.com> | 2024-05-22 17:24:17 +0200 |
commit | 4a78c46cbd64a69e0ce799d13a3c021260771b83 (patch) | |
tree | 7cc82280d1b60ba45c173fc169372221146e95b7 /target | |
parent | 0f5c28b96b4e04332b6e9f31280c57b03c672cfd (diff) | |
download | openwrt-4a78c46cbd64a69e0ce799d13a3c021260771b83.tar.gz openwrt-4a78c46cbd64a69e0ce799d13a3c021260771b83.tar.bz2 openwrt-4a78c46cbd64a69e0ce799d13a3c021260771b83.zip |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch b/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch index e0331d28ab..20dd345c69 100644 --- a/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch +++ b/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch @@ -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", + test_result); + |