]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Only call b53_port_event() for SGMII ports
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 10 Sep 2018 23:47:07 +0000 (16:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 07:06:55 +0000 (00:06 -0700)
commitd71a480c6cddcd63656e4fcc2690a83d529b32a1
treefcb9a75e5ebf2804f4fec6d48e7159600b3b737e
parent4126684f3dc4844de7768cd8eb69dce58005cafb
net: dsa: b53: Only call b53_port_event() for SGMII ports

Built-in PHY ports are still being polled, avoid generating spurious
and duplicate events which the PHY library resolves through polling
anyways.

Fixes: faa543b7c51d ("net: dsa: b53: Add SerDes support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_srab.c