Commit fcc023c7 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 7acd85e0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment