commit | b91113282bf44df46aba374a0b8f88a75bfd4b3f | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Mon Jun 23 22:49:40 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 25 16:31:17 2014 -0700 |
tree | d1d94b894b448033edbc7539e488d87b445127f1 | |
parent | 40c9f8ab6c0f3e3c36dc3fb4ec81a25a0a207789 [diff] |
net: allwinner: emac: Add missing free_irq If the mdio probe function fails in emac_open, the interrupt we just requested isn't freed. If emac_open is called again, for example because we try to set up the interface again, the kernel will oops because the interrupt wasn't properly released. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: <stable@vger.kernel.org> # 3.11+ Signed-off-by: David S. Miller <davem@davemloft.net>