-
-
Save Babu6157/5b67d623f44d349a94dee65fd361d563 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/net/dsa/qca8k.c | |
+++ b/drivers/net/dsa/qca8k.c | |
@@ -1600,7 +1600,8 @@ qca8k_sw_probe(struct mdio_device *mdiodev) | |
id >>= QCA8K_MASK_CTRL_ID_S; | |
id &= QCA8K_MASK_CTRL_ID_M; | |
if (id != data->id) | |
- return -ENODEV; | |
+ pr_info("DETECTED SWITCH ID %d EXPECTED %d", id, data->id); | |
+ // return -ENODEV; | |
priv->ds = devm_kzalloc(&mdiodev->dev, sizeof(*priv->ds), GFP_KERNEL); | |
if (!priv->ds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment