diff options
author | Kamil Debski <k.debski@samsung.com> | 2014-07-01 17:15:54 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-07-22 12:46:10 +0530 |
commit | 57416c23e3ab57e65ba6e7c2e30fb40ba85035a6 (patch) | |
tree | a505c4b06e6c361f13bf46768abde3ebdea5d2dc /drivers/phy/phy-exynos5250-usb2.c | |
parent | ad6202b4d941c69e9154419bd3002fbcacccbb67 (diff) | |
download | blackbird-obmc-linux-57416c23e3ab57e65ba6e7c2e30fb40ba85035a6.tar.gz blackbird-obmc-linux-57416c23e3ab57e65ba6e7c2e30fb40ba85035a6.zip |
phy: phy-samsung-usb2: Change phy power on/power off sequence
The Exynos4412 USB 2.0 PHY hardware differs from the description provided
in the documentation. Some register bits have different function. This
patch fixes the defines of register bits and changes the way how phys are
powered on and off.
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Tested-by: Daniel Drake <drake@endlessm.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-exynos5250-usb2.c')
-rw-r--r-- | drivers/phy/phy-exynos5250-usb2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/phy/phy-exynos5250-usb2.c b/drivers/phy/phy-exynos5250-usb2.c index 94179afda951..1c139aa0d074 100644 --- a/drivers/phy/phy-exynos5250-usb2.c +++ b/drivers/phy/phy-exynos5250-usb2.c @@ -318,7 +318,6 @@ static int exynos5250_power_on(struct samsung_usb2_phy_instance *inst) break; } - inst->enabled = 1; exynos5250_isol(inst, 0); return 0; @@ -331,7 +330,6 @@ static int exynos5250_power_off(struct samsung_usb2_phy_instance *inst) u32 otg; u32 hsic; - inst->enabled = 0; exynos5250_isol(inst, 1); switch (inst->cfg->id) { |