]> 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)
commit55d094ef5c076240c9b0419fd121949aea7fcfc3
treeb4b34dd41501ddf860ee3e38743e2fbf216a48f9
parent1980f5391e10fb8276e5d9ae87f553186223abd9
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: 8f95392511ce ("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