]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix LED configuration for marvell phy
authorYonglong Liu <liuyonglong@huawei.com>
Mon, 22 Jul 2019 05:59:12 +0000 (13:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 01:18:35 +0000 (18:18 -0700)
commit7b3c9afa5077fef2f60e0474de0a740375f840d2
treeb4b34dd41501ddf860ee3e38743e2fbf216a48f9
parent159b622c63fc20493fe452771294b3cfe2dea600
net: hns: fix LED configuration for marvell phy

Since commit(net: phy: marvell: change default m88e1510 LED configuration),
the active LED of Hip07 devices is always off, because Hip07 just
use 2 LEDs.
This patch adds a phy_register_fixup_for_uid() for m88e1510 to
correct the LED configuration.

Fixes: 548df3e8f8a3 ("net: phy: marvell: change default m88e1510 LED configuration")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Reviewed-by: linyunsheng <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c