usb: dwc3: gadget: prevent DCTL register corruption
authorFelipe Balbi <balbi@ti.com>
Thu, 24 May 2012 07:27:56 +0000 (10:27 +0300)
committerFelipe Balbi <balbi@ti.com>
Sun, 3 Jun 2012 20:08:25 +0000 (23:08 +0300)
If we don't read out the contents of the register
(in order to reinitialize 'reg' variable) we will
be writing unknown contents to the DCTL register
whenever we try to use dwc3_gadget_wakeup() function.

Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found