Skip to content
Commit 70cc443d authored by Łukasz Majewski's avatar Łukasz Majewski Committed by Marek Vasut
Browse files

usb: host: ehci: samsung: Move hcor initialization after usb phy setup



With the old order of initialization the hcor pointer has been setup to
the same address as Exynos EHCI base address (0x12110000 instead of
0x12110010).
Such behaviour was caused by reading value of 0 instead of 0x10 from EHCI
HCCPBASE register without doing proper clock initialization before.

To fix this problem hcor initialization has been moved after USB PHY setup.
Now ehci_readl(&ctx->hcd->cr_capbase) returns correct value.

Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent 5d5716ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment