Files
linux/drivers/net/dsa/b53
Arun Parameswaran 49731b4b10 net: dsa: b53: Fix for failure when irq is not defined in dt
[ Upstream commit 39841cc1cb ]

Fixes the issues with non BCM58XX chips in the b53 driver
failing, when the irq is not specified in the device tree.

Removed the check for BCM58XX in b53_srab_prepare_irq(),
so the 'port->irq' will be set to '-EXIO' if the irq is not
specified in the device tree.

Fixes: 16994374a6 ("net: dsa: b53: Make SRAB driver manage port interrupts")
Fixes: b2ddc48a81 ("net: dsa: b53: Do not fail when IRQ are not initialized")
Signed-off-by: Arun Parameswaran <arun.parameswaran@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-12 20:02:34 +01:00
..
2018-06-01 11:15:42 -04:00
2018-09-06 07:48:34 -07:00
2018-09-06 07:48:34 -07:00