summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2014-11-25 15:29:58 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:07:06 -0700
commit1a2f71ae4f42c46341c419c41914672930d52a32 (patch)
tree099daaf92daae6da4b7cdae8e9d53d89bf6bf424 /include/linux
parent02ce61b3062b70e1e6e0293a50fb464d6b1c2630 (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