summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-samsung-usb2.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-05-07 08:57:36 +0200
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-05-15 07:29:27 +0200
commitd576124946ccc685095aa1ab145d238d8fbee829 (patch)
treef14024f51a2848cdfa9786d5948ac0dc605e4a46 /drivers/phy/phy-samsung-usb2.h
parent141e380d69ee0b7b530a92e95eeb612d6656044b (diff)
downloadlinux-3.10-d576124946ccc685095aa1ab145d238d8fbee829.tar.gz
linux-3.10-d576124946ccc685095aa1ab145d238d8fbee829.tar.bz2
linux-3.10-d576124946ccc685095aa1ab145d238d8fbee829.zip
drivers: phy: exynos4x12-phy: fix HSIC1 power on/off sequence
From experiments with real hardware, it seems that URSTCON bits for HSIC0 and HSIC1 seems to be swapped, so updated macro definitions for them. HSIC1 also requires enabling power to device phy to get properly enabled (similar hack is already implemented for HSIC0). Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Idcbe47f1a55d882394296837b9218e9f843e842c
Diffstat (limited to 'drivers/phy/phy-samsung-usb2.h')
-rw-r--r--drivers/phy/phy-samsung-usb2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-samsung-usb2.h b/drivers/phy/phy-samsung-usb2.h
index 51a16016a21..848744ab8f3 100644
--- a/drivers/phy/phy-samsung-usb2.h
+++ b/drivers/phy/phy-samsung-usb2.h
@@ -29,7 +29,7 @@ struct samsung_usb2_phy_instance {
const struct samsung_usb2_common_phy *cfg;
struct phy *phy;
struct samsung_usb2_phy_driver *drv;
- bool enabled;
+ int enabled;
};
struct samsung_usb2_phy_driver {