We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45dc8ea commit e59119dCopy full SHA for e59119d
drivers/phy/samsung/phy-exynos5-usbdrd.c
@@ -1296,14 +1296,17 @@ static int exynos5_usbdrd_gs101_phy_exit(struct phy *phy)
1296
struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
1297
int ret;
1298
1299
+ if (inst->phy_cfg->id == EXYNOS5_DRDPHY_UTMI) {
1300
+ ret = exynos850_usbdrd_phy_exit(phy);
1301
+ if (ret)
1302
+ return ret;
1303
+ }
1304
+
1305
+ exynos5_usbdrd_phy_isol(inst, true);
1306
1307
if (inst->phy_cfg->id != EXYNOS5_DRDPHY_UTMI)
1308
return 0;
1309
- ret = exynos850_usbdrd_phy_exit(phy);
- if (ret)
- return ret;
-
- exynos5_usbdrd_phy_isol(inst, true);
1310
return regulator_bulk_disable(phy_drd->drv_data->n_regulators,
1311
phy_drd->regulators);
1312
}
0 commit comments