summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-05-08 07:28:14 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:48 +0900
commit3a28adc5f2e62f686318c2a20e0652c7766ce119 (patch)
tree51c05d50b88c6de7cfb40d68d41949daed857809 /drivers/phy
parentc64e71681d0fbeb17ed665446dcf7c20bcbe8fa5 (diff)
downloadlinux-3.10-3a28adc5f2e62f686318c2a20e0652c7766ce119.tar.gz
linux-3.10-3a28adc5f2e62f686318c2a20e0652c7766ce119.tar.bz2
linux-3.10-3a28adc5f2e62f686318c2a20e0652c7766ce119.zip
Revert "phy: exynos-usb: Fix referenct counting"
This reverts commit 58ae84cefb54046335d9581f3d96e8a5b947a08b. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I3adfabef0633bdb8542940a506976afd12856f21
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-exynos4210-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-exynos4210-usb.c b/drivers/phy/phy-exynos4210-usb.c
index d75a5546327..4b849e7abb0 100644
--- a/drivers/phy/phy-exynos4210-usb.c
+++ b/drivers/phy/phy-exynos4210-usb.c
@@ -250,7 +250,7 @@ static int exynos4210_power_off(struct uphy_instance *inst)
}
inst->state = STATE_OFF;
- inst->ref_cnt--;
+ inst->ref_cnt++;
if (inst->ref_cnt > 0)
return 0;