File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ static int mt7988_2p5ge_phy_config_init(struct phy_device *phydev)
9898 struct pinctrl * pinctrl ;
9999
100100 if (!phy_priv -> fw_loaded ) {
101- pm_dev = dev_pm_domain_attach_by_name (dev , "i2p5gbe-pd" );
101+ /* pm_dev = dev_pm_domain_attach_by_name(dev, "i2p5gbe-pd");
102102 if (IS_ERR(pm_dev)) {
103103 ret = PTR_ERR(pm_dev);
104104 dev_err(dev, "failed to get i2p5g pm-domain: %d\n", ret);
@@ -110,7 +110,7 @@ static int mt7988_2p5ge_phy_config_init(struct phy_device *phydev)
110110 /* We need to add 1 to power domain counter first so that
111111 * we can correctly power off internal 2.5Gphy
112112 */
113- ret = pm_runtime_get_sync (pm_dev );
113+ /* ret = pm_runtime_get_sync(pm_dev);
114114 if (ret < 0) {
115115 dev_err(&phydev->mdio.dev, "failed to power on!\n");
116116 return ret;
@@ -120,7 +120,7 @@ static int mt7988_2p5ge_phy_config_init(struct phy_device *phydev)
120120 if (ret < 0) {
121121 dev_err(&phydev->mdio.dev, "failed to power on!\n");
122122 return ret;
123- }
123+ }*/
124124
125125 np = of_find_compatible_node (NULL , NULL , "mediatek,2p5gphy-fw" );
126126 if (!np )
You can’t perform that action at this time.
0 commit comments