Before I can get to work a feed repository that work i have included qca-nss source needed on this commit Source author: SqTER-PL <r.napierala@asta-net.pl>
12 lines
347 B
Diff
12 lines
347 B
Diff
--- a/ipq806x/nss_gmac_ctrl.c
|
|
+++ b/ipq806x/nss_gmac_ctrl.c
|
|
@@ -1024,7 +1024,7 @@ static int32_t nss_gmac_of_get_pdata(str
|
|
|
|
gmaccfg->phy_mii_type = of_get_phy_mode(np);
|
|
netdev->irq = irq_of_parse_and_map(np, 0);
|
|
- if (netdev->irq == NO_IRQ) {
|
|
+ if (netdev->irq <= 0) {
|
|
pr_err("%s: Can't map interrupt\n", np->name);
|
|
return -EFAULT;
|
|
}
|