net: bcmgenet: fix MoCA LED control
authorDoug Berger <opendmb@gmail.com>
Thu, 16 Feb 2023 19:41:28 +0000 (11:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 10:01:01 +0000 (10:01 +0000)
commita7515af9fb8f0890fe540b108def4a86b9e8330a
tree2cf9d5f29eb5034b44fec2efb8b884ef78ed9865
parent9ca5e7ecab064f1f47da07f7c1ddf40e4bc0e5ac
net: bcmgenet: fix MoCA LED control

When the bcmgenet_mii_config() code was refactored it was missed
that the LED control for the MoCA interface got overwritten by
the port_ctrl value. Its previous programming is restored here.

Fixes: 4f8d81b77e66 ("net: bcmgenet: Refactor register access in bcmgenet_mii_config")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmmii.c