projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9622576
)
Revert "phy: exynos4212-usb: Use refcount to power device PHY for HSIC0"
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Thu, 8 May 2014 05:27:26 +0000
(07:27 +0200)
committer
Chanho Park
<chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:47 +0000
(11:47 +0900)
This reverts commit
16b990c41a9f1e31f4c51f66052a1c648a3c0b2e
.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I49f69bf27d8226e05a3fb48c70b15f21e3685345
drivers/phy/phy-exynos4212-usb.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-exynos4212-usb.c
b/drivers/phy/phy-exynos4212-usb.c
index
6d426a4
..
c6af66d
100644
(file)
--- 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);
}