]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: bcmgenet: fix MoCA LED control
authorDoug Berger <opendmb@gmail.com>
Thu, 16 Feb 2023 19:41:28 +0000 (11:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:08 +0000 (09:33 +0100)
commit2e0b1754dd821d39e37e5db1a20aab6a488ed772
tree66256cc0297b5f2e6a72d1ac0df63bd8c7551123
parent4bb736b40475528ac1aa8c98b368563618488a70
net: bcmgenet: fix MoCA LED control

[ Upstream commit a7515af9fb8f0890fe540b108def4a86b9e8330a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/genet/bcmmii.c