Skip to content
Commit d0464bcf authored by John Youn's avatar John Youn Committed by Felipe Balbi
Browse files

usb: dwc2: Make PHY optional



Fixes commit 09a75e85
("usb: dwc2: refactor common low-level hw code to platform.c")

The above commit consolidated the low-level phy access into a common
location. This change introduced a check from the gadget requiring
that a PHY is specified. This requirement never existed on the host
side and broke some platforms when it was moved into platform.c.

The gadget doesn't require the PHY either so remove the check.

Acked-by: default avatarEric Anholt <eric@anholt.net>
Reported-by: default avatarStefan Wahren <info@lategoodbye.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarJohn Youn <johnyoun@synopsys.com>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Fixes: 09a75e85 ("usb: dwc2: refactor common low-level hw code to platform.c")
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent c9eb2950
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment