From: Dinh Nguyen Date: Tue, 11 Nov 2014 17:13:38 +0000 (-0600) Subject: usb: dwc2: gadget: Do not fail probe if there isn't a clock node X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d736d8a9c44547f14711c52875c88d19d8b287b;p=pandora-kernel.git 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 Signed-off-by: Dinh Nguyen Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed