Skip to content

Fix device suspend issue introduced in interval timeout implementation#41

Merged
5656hcx merged 1 commit into
mainfrom
chehan-dev
May 19, 2026
Merged

Fix device suspend issue introduced in interval timeout implementation#41
5656hcx merged 1 commit into
mainfrom
chehan-dev

Conversation

@5656hcx
Copy link
Copy Markdown
Contributor

@5656hcx 5656hcx commented May 14, 2026

Summary

During D0 exit, cancelled URBs fire COMPLETION_EVENT with 0 bytes.
Without this status check, the timer would be re-armed while the device
is in Dx, causing the TimeoutReadQueue request to complete and apps
to post a new ReadFile into the power-managed ReadQueue, which
immediately wakes the device. This creates an infinite wake/sleep cycle
that prevents selective suspend.

Related Pull Request

Validation

  • Confirmed working by end user.

Signed-off-by: chehan <chehan@qti.qualcomm.com>
@5656hcx 5656hcx requested review from rohimish-qc and shasaror May 14, 2026 02:11
@5656hcx 5656hcx self-assigned this May 14, 2026
Comment thread src/windows/wdfserial/QCRD.c
@5656hcx 5656hcx merged commit 22dfc63 into main May 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants