usb: dwc3: gadget: fix GCTL programming
authorFelipe Balbi <balbi@ti.com>
Thu, 8 Sep 2011 14:42:11 +0000 (17:42 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:05:25 +0000 (13:05 +0300)
commit771f184ecebf34929a849eaa707aa463234254f7
tree1b43e1e3a1e84f20a5612acf62f1df8c6f0be8fb
parentf78d32e79ea3218da34e78ccca4eb4de14f2512d
usb: dwc3: gadget: fix GCTL programming

ensure a few bits are cleared before enabling
what we need.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c