usb: dwc3: gadget: allow clock gating to work
authorFelipe Balbi <balbi@ti.com>
Fri, 30 Sep 2011 07:58:50 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:56 +0000 (10:25 -0700)
commitaabb70752361a8b8ca44142a942a5bd133c4d304
treeddc6da1f1a031834d9478cc85301c2d796da389a
parent26ceca9750260997ab82bb84dac122de1e441658
usb: dwc3: gadget: allow clock gating to work

The dwc3 core has internal clock gating support.

Let's allow that to happen by clearing the disable
bit in GCTL register.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c