mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 12:30:13 +07:00
phy: da8xx-usb: rename the ohci device to ohci-da8xx
The ohci device name has changed in the board configuraion files, hence, change the phy lookup table to match the new name. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
parent
98430c7aad
commit
766325427f
@ -198,7 +198,8 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
|
|||||||
} else {
|
} else {
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0");
|
ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy",
|
||||||
|
"ohci-da8xx");
|
||||||
if (ret)
|
if (ret)
|
||||||
dev_warn(dev, "Failed to create usb11 phy lookup\n");
|
dev_warn(dev, "Failed to create usb11 phy lookup\n");
|
||||||
ret = phy_create_lookup(d_phy->usb20_phy, "usb-phy",
|
ret = phy_create_lookup(d_phy->usb20_phy, "usb-phy",
|
||||||
@ -216,7 +217,7 @@ static int da8xx_usb_phy_remove(struct platform_device *pdev)
|
|||||||
|
|
||||||
if (!pdev->dev.of_node) {
|
if (!pdev->dev.of_node) {
|
||||||
phy_remove_lookup(d_phy->usb20_phy, "usb-phy", "musb-da8xx");
|
phy_remove_lookup(d_phy->usb20_phy, "usb-phy", "musb-da8xx");
|
||||||
phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0");
|
phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci-da8xx");
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user