diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-05-17 11:05:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 12:26:56 -0400 |
commit | ccf928249c92b04ec9527e97a7c6b2cd8cd9dc10 (patch) | |
tree | 6978462940fd72e2c06a61cab6bca938c9bc3c10 /drivers/net/ethernet/qlogic/qed | |
parent | f82731b454a953b6ff2aa1f601f65dec52551600 (diff) |
ravb: Add missing free_irq() calls to ravb_close()
When reopening the network device on ra7795/salvator-x, e.g. after a
DHCP timeout:
IP-Config: Reopening network devices...
genirq: Flags mismatch irq 139. 00000000 (eth0:ch0:rx_be) vs. 00000000 (ravb e6800000.ethernet eth0: cannot request IRQ eth0:ch0:rx_be
IP-Config: Failed to open eth0
IP-Config: No network devices available
The "mismatch" is due to requesting an IRQ that is already in use,
while IRQF_PROBE_SHARED wasn't set.
However, the real cause is that ravb_close() doesn't release any of the
R-Car Gen3-specific secondary IRQs.
Add the missing free_irq() calls to fix this.
Fixes: f51bdc236b6c5835 ("ravb: Add dma queue interrupt support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed')
0 files changed, 0 insertions, 0 deletions