]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Do not fail when IRQ are not initialized
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 13 Sep 2018 16:50:45 +0000 (09:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 17:19:14 +0000 (10:19 -0700)
commit15ec4899d16df9ca7c13a430d6a4c03147322f55
tree5b899bca04784514a62d45964842594373033dfb
parent0f4cb66aef6c24c3224412eebb5599b06f446c02
net: dsa: b53: Do not fail when IRQ are not initialized

When the Device Tree is not providing the per-port interrupts, do not fail
during b53_srab_irq_enable() but instead bail out gracefully. The SRAB driver
is used on the BCM5301X (Northstar) platforms which do not yet have the SRAB
interrupts wired up.

Fixes: 03d8eafba134 ("net: dsa: b53: Make SRAB driver manage port interrupts")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_srab.c