f_qc_rndis: IPA disconnect on USB suspend when remote wakeup is disabled
When remote wakeup feature is disabled due to the usb host decision,
our tethering device is not allowed to wakeup the usb bus after bus
suspend. Therefore, in case the IPA is willing to wakeup the USB bus,
the USB cannot wakeup the host and therefore cannot grant the consumer
resource back to the IPA resource manager. In this case the IPA
resource manager is waiting until expiring timeout which shows that
IPA BAM stalls. Also trying to remote wakeup host when it doesn't
support that leads to remote wakeup functionality failing which put
IPA USB communication in different state. Therefore in case of remote
wakeup disabled, we should avoid the expectation from the IPA side to
get a response from the USB. So, the solution is to indicate to the
IPA driver that USB cable has been unplugged when bus suspend with
remote wakeup disabled.
CRs-Fixed: 718566
Change-Id: I9da4e1968072a819b48de863df802839f97ef35a
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment