commit | fcc023c726b5879d8f3f0f0f48c45d09055272c4 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu May 24 10:27:56 2012 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Sun Jun 03 23:08:25 2012 +0300 |
tree | b5a88957b7fdc046305c98eb034e6f0d25780c22 | |
parent | 7acd85e0eb2ed300edf123178445237059b35fb9 [diff] |
usb: dwc3: gadget: prevent DCTL register corruption 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>