diff options
author | Arun Parameswaran <arun.parameswaran@broadcom.com> | 2019-02-07 16:01:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 18:18:37 -0800 |
commit | 39841cc1cbb69344539c98a1fa9d858ed124c7ba (patch) | |
tree | a4b7f21277f1358ed5b4368ed95bb0415f25a747 /tools | |
parent | ec7fd009e87cf5459fe9aef1c9a6111e093e49cd (diff) | |
download | linux-stable-39841cc1cbb69344539c98a1fa9d858ed124c7ba.tar.gz linux-stable-39841cc1cbb69344539c98a1fa9d858ed124c7ba.tar.bz2 linux-stable-39841cc1cbb69344539c98a1fa9d858ed124c7ba.zip |
net: dsa: b53: Fix for failure when irq is not defined in dt
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: 16994374a6fc ("net: dsa: b53: Make SRAB driver manage port interrupts")
Fixes: b2ddc48a81b5 ("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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions