diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2014-11-11 11:13:38 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-14 14:59:52 -0600 |
commit | 8d736d8a9c44547f14711c52875c88d19d8b287b (patch) | |
tree | c8080df10fd2e233203b6f2e97a902af0991e7f3 /drivers/usb/dwc2/platform.c | |
parent | db8178c33dbe9aba5e2c5d323625f9e6da55d7e6 (diff) | |
download | linux-8d736d8a9c44547f14711c52875c88d19d8b287b.tar.gz linux-8d736d8a9c44547f14711c52875c88d19d8b287b.tar.xz |
usb: dwc2: gadget: Do not fail probe if there isn't a clock node
Since the dwc2 hcd driver is currently not looking for a clock node during
init, we should not completely fail if there isn't a clock provided.
By assigning clk = NULL, this allows the driver, when configured for dual-role
mode, to be able to continue loading the host portion of the driver when
a clock node is not specified.
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
0 files changed, 0 insertions, 0 deletions