File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,12 @@ static int rockchip_pcie_phy_power_on(struct phy *phy)
160
160
161
161
guard (mutex )(& rk_phy -> pcie_mutex );
162
162
163
+ regmap_write (rk_phy -> reg_base ,
164
+ rk_phy -> phy_data -> pcie_laneoff ,
165
+ HIWORD_UPDATE (!PHY_LANE_IDLE_OFF ,
166
+ PHY_LANE_IDLE_MASK ,
167
+ PHY_LANE_IDLE_A_SHIFT + inst -> index ));
168
+
163
169
if (rk_phy -> pwr_cnt ++ ) {
164
170
return 0 ;
165
171
}
@@ -176,12 +182,6 @@ static int rockchip_pcie_phy_power_on(struct phy *phy)
176
182
PHY_CFG_ADDR_MASK ,
177
183
PHY_CFG_ADDR_SHIFT ));
178
184
179
- regmap_write (rk_phy -> reg_base ,
180
- rk_phy -> phy_data -> pcie_laneoff ,
181
- HIWORD_UPDATE (!PHY_LANE_IDLE_OFF ,
182
- PHY_LANE_IDLE_MASK ,
183
- PHY_LANE_IDLE_A_SHIFT + inst -> index ));
184
-
185
185
/*
186
186
* No documented timeout value for phy operation below,
187
187
* so we make it large enough here. And we use loop-break
You can’t perform that action at this time.
0 commit comments