aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorRoger Quadros2014-02-04 15:29:33 +0200
committerFelipe Balbi2014-02-18 10:32:26 -0600
commit33f8d75f5771993ef16ed6bd56d7210f54226203 (patch)
tree5b00defb25c73b993608528758489ef67a0ac6ea /drivers/usb/gadget
parent3c4653c1f62ea5f1706084090a5a3bcf3402dc8f (diff)
usb: musb: core: Fix remote-wakeup resume
During resume don't touch SUSPENDM/RESUME bits of POWER register while restoring controller context. These bits might be changed by the controller during resume operation and so will be different than what they were during suspend. e.g. SUSPENDM bit is set by software during USB global suspend but automatically cleared by the controller during remote wakeup or during resume. Setting this bit back while restoring context causes undesired behaviour. i.e. Babble interrupt is generated and USB is broken. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions