diff options
-rw-r--r-- | drivers/phy/phy-exynos4212-usb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/phy/phy-exynos4212-usb.c b/drivers/phy/phy-exynos4212-usb.c index 6d426a4e92f..c6af66d489d 100644 --- a/drivers/phy/phy-exynos4212-usb.c +++ b/drivers/phy/phy-exynos4212-usb.c @@ -263,11 +263,6 @@ static int exynos4212_power_on(struct uphy_instance *inst) if (inst->cfg->id == EXYNOS4212_HSIC0) { struct uphy_instance *device = &drv->uphy_instances[EXYNOS4212_DEVICE]; - - device->ref_cnt++; - if (device->ref_cnt > 1) - return 0; - exynos4212_phy_pwr(device, 1); exynos4212_isol(device, 0); } @@ -297,11 +292,6 @@ static int exynos4212_power_off(struct uphy_instance *inst) if (inst->cfg->id == EXYNOS4212_HSIC0) { struct uphy_instance *device = &drv->uphy_instances[EXYNOS4212_DEVICE]; - - device->ref_cnt--; - if (device->ref_cnt > 0) - return 0; - exynos4212_phy_pwr(device, 0); exynos4212_isol(device, 1); } |