]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: remove handling of wol interrupts from isr0
authorDoug Berger <opendmb@gmail.com>
Tue, 14 Mar 2017 00:41:36 +0000 (17:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Mar 2017 04:51:50 +0000 (21:51 -0700)
commitf78981f7045b85059da9bfd003067a248230a490
treea1ea327f3b8441d3f9e0a65c1912408ec7194a3f
parent72b94e474e7ab2e5290b367216cf4e6ad0bf5126
net: bcmgenet: remove handling of wol interrupts from isr0

The bcmgenet_wol_isr() handler performs the necessary processing for
waking from a GENET event.  There is no necessary functionality behind
servicing the UMAC_IRQ_MPD_R event in the handling of isr0.  Therefore
the code that unmasks and masks this interrupt and that gets invoked
in response to it is removed by this commit.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c