diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-08 07:28:14 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:47:48 +0900 |
commit | 3a28adc5f2e62f686318c2a20e0652c7766ce119 (patch) | |
tree | 51c05d50b88c6de7cfb40d68d41949daed857809 /drivers/phy | |
parent | c64e71681d0fbeb17ed665446dcf7c20bcbe8fa5 (diff) | |
download | linux-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.c | 2 |
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; |