Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 93b2cb10 authored by Sujeet Kumar's avatar Sujeet Kumar
Browse files

USB: phy-msm-usb: Ensure strict order of phy event processing



Using system_nrt_wq does not guarantee the serial execution
of the multiple works. This can lead to parallel execution of
different tasks at the same time. It can lead to a situation
where state machine put device into low power mode and charger
detection still running and accessing registers. This will cause
unclocked access.

Use strict order workqueue to schedule state machine, charger
detection, ID detection, suspend work. workqueue is tunned to
run at max one task at any given point in time which helps avoid
parallel execution of different tasks.

CRs-Fixed: 765672
Change-Id: I02eb36dd4bcbea923638c6532fc4a94c3e5dd6b9
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent a2231e77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment