diff options
| author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2020-04-23 13:55:53 +0200 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:07:52 -0400 |
| commit | b952f0537778882d8ef3b1b4ee4fe1d68e6a8d6d (patch) | |
| tree | b57e6abad8161b36797c14b37f20d2c058b5108b /include/linux/debugobjects.h | |
| parent | 720e91f8a2a74552d2c3849a9158032345b79200 (diff) | |
usb: dwc2: gadget: move gadget resume after the core is in L0 state
[ Upstream commit 8c935deacebb8fac8f41378701eb79d12f3c2e2d ]
When the remote wakeup interrupt is triggered, lx_state is resumed from L2
to L0 state. But when the gadget resume is called, lx_state is still L2.
This prevents the resume callback to queue any request. Any attempt
to queue a request from resume callback will result in:
- "submit request only in active state" debug message to be issued
- dwc2_hsotg_ep_queue() returns -EAGAIN
Call the gadget resume routine after the core is in L0 state.
Fixes: f81f46e1f530 ("usb: dwc2: implement hibernation during bus suspend/resume")
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
