commit | 4404323c6ac256c2a11d86fda65fbdb7d198ff8c | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Fri Jan 20 17:21:04 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 23 13:03:28 2017 -0500 |
tree | cfe7c2cd98fd0cfc4212b631577216c9700fb045 | |
parent | 41c1093f2e1a33f4bf38848b4b1526903c5052bb [diff] |
net: qcom/emac: claim the irq only when the device is opened During reset, functions emac_mac_down() and emac_mac_up() are called, so we don't want to free and claim the IRQ unnecessarily. Move those operations to open/close. Signed-off-by: Timur Tabi <timur@codeaurora.org> Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>