diff options
author | Timur Tabi <timur@codeaurora.org> | 2017-01-21 00:21:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-23 19:03:28 +0100 |
commit | 4404323c6ac256c2a11d86fda65fbdb7d198ff8c (patch) | |
tree | cfe7c2cd98fd0cfc4212b631577216c9700fb045 /drivers/net/ethernet/xilinx | |
parent | net: qcom/emac: rename emac_phy to emac_sgmii and move it (diff) | |
download | linux-4404323c6ac256c2a11d86fda65fbdb7d198ff8c.tar.xz linux-4404323c6ac256c2a11d86fda65fbdb7d198ff8c.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
0 files changed, 0 insertions, 0 deletions