aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/moxa
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2017-01-20 17:21:04 -0600
committerDavid S. Miller <davem@davemloft.net>2017-01-23 13:03:28 -0500
commit4404323c6ac256c2a11d86fda65fbdb7d198ff8c (patch)
treecfe7c2cd98fd0cfc4212b631577216c9700fb045 /drivers/net/ethernet/moxa
parentnet: qcom/emac: rename emac_phy to emac_sgmii and move it (diff)
downloadlinux-dev-4404323c6ac256c2a11d86fda65fbdb7d198ff8c.tar.xz
linux-dev-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/moxa')
0 files changed, 0 insertions, 0 deletions