diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2014-11-25 15:29:58 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:02:47 -0700 |
| commit | 7c99b9d4d4517191e0ea4e5d7ee80e9671f40a87 (patch) | |
| tree | 4e7e85d7586dfaf74fe2862b6bae38a7a14436a4 /include/linux | |
| parent | 691d89ad03d7ac5f8aded39b84ce0e831e07f044 (diff) | |
dwc3: gadget: Replace polling mechnism to go into U0 state
Moving into U0 state is being confirmed by polling for 100ms after
performing remote wakeup from device. In some of cases where host is
taking more time to respond, remote wakeup is failing. Also USB
specification does not define any limit for the host response time.
Hence this change replaces polling mechnism by using LINK status
change event notification with core and increase host response time
from 100ms to 3 seconds. It also makes sure that composite_resume()
is being called after remote wakeup is completed succesfully.
It removes some of flag used to avoid race between bus suspend/resume
and fuction suspend/resume as those are serialize and not required
anymore.
CRs-Fixed: 712681
Change-Id: I71285daf117282c738e139e9a05ead6ef16dd202
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
