Skip to content
Commit db328a8e authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

drm/msm/dp: synchronize the USBPD and display thread events



Synchronize the USBPD and display thread event paths using a lock
to protect the power on state variable. This will fix any
potential race condition caused by the USBPD thread cleaning up
the driver state during a disconnect event when the display
thread is delayed or blocked indefinitely. Furthermore, trigger
the controller module to stop all operations e.g. link training,
in event that there is a software time out before the display
thread is done powering on the controller.

CRs-Fixed: 2115876
Change-Id: Idcf3be54a22ba8532e7bc0560fbcec6d2c99869d
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent a7bbb875
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment