usb: dwc2: make otg clk 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 made the otg clk a requirement and broke some platforms when it was moved into platform.c. So make clk handling optional again. Acked-by: NEric Anholt <eric@anholt.net> Signed-off-by: NStefan Wahren <stefan.wahren@i2se.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: NJohn Youn <johnyoun@synopsys.com> Tested-by: NMarek Szyprowski <m.szyprowski@samsung.com> Fixes: 09a75e85 ("usb: dwc2: refactor common low-level hw code to platform.c") Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录