usb: dwc2: remove early return on clock query
authorDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 24 Nov 2014 17:02:11 +0000 (11:02 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 25 Nov 2014 14:47:05 +0000 (08:47 -0600)
Since we have assigned clk=NULL, which is a valid clk, we should not
be returning when a clock node is not provide. Instead, we should return
only when we cannot enable the clock.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c

Simple merge