diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-08 07:28:14 +0200 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-13 05:49:26 -0700 |
commit | 5990589fb5e02c23760a0d3c3df3d543d2bd3001 (patch) | |
tree | bdee22fdc3d7f7d5fa232885e890d6e006db6421 /drivers | |
parent | 286572211f6acc31a63259852b4da8ae1f1c080b (diff) | |
download | linux-3.10-5990589fb5e02c23760a0d3c3df3d543d2bd3001.tar.gz linux-3.10-5990589fb5e02c23760a0d3c3df3d543d2bd3001.tar.bz2 linux-3.10-5990589fb5e02c23760a0d3c3df3d543d2bd3001.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')
-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; |