]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: of-simple: allow glues without clocks
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 12 Sep 2016 18:20:22 +0000 (21:20 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Sep 2016 05:40:40 +0000 (08:40 +0300)
commit2975143b99c9b369ad104a57145043c211583b2d
tree860f7d27b14988019edcb022d4267321fba7e2ab
parent7036c0c9b2ae5d679ae54d852f578ad1b104a6ef
usb: dwc3: of-simple: allow glues without clocks

Instead of erroring out when we don't have clocks,
let's just avoid any calls to the clk API.

Tested-by: Steven J. Hill <Steven.Hill@cavium.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c