summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-11-15 10:52:11 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-11-15 21:55:47 -0800
commit86747debd95f02764bc8d9c136d6011200a4054b (patch)
tree9b26841937f345b0c0a7ba81cb0361a74d124a16 /net/lapb/lapb_iface.c
parentae2f6cb5ada42a3e3da6182ac3092007f5a319d8 (diff)
USB: gsi: Ring Doorbell to GSI if check for suspend fails
Currently GSI driver is clearing Doorbell to GSI in gsi_suspend(), when it receives function suspend and notifying suspend to GSI in work queue context. In ipa_suspend_work_handler(), driver is first checking whether GSI wrapper is ready to suspend before doing xdci_suspend(). This check fails if function resume received before ipa_suspend_work_handler() gets chance to run. Due to this, state machine still stays at CONNECTED state. When function resume is received, state machine is not handling resume event and results in not ringing Doorbell to GSI. This eventually causes data stall. Hence fix the issue by ringing Doorbell to GSI if in case check for suspend fails in ipa_suspend_work_handler. Change-Id: Ifbc03b7edde6e1be23c326118e89f805b148f9ff Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions