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

Skip to content
Commit a3d85999 authored by Huaibin Yang's avatar Huaibin Yang Committed by Stephen Boyd
Browse files

msm: mdss: cancel or wait for the clock work to finish



The clock work has to be finished in mdp cmd stop function during adb
shell stop or suspend, otherwise, system crashes due to the unreleased
mutex lock in work queue. First, the stop_comp completion is issued
from isr, not from work queue, so that rdptr ticks can be done without
dependency on work queue, then cancel_work_sync is called to guarantee
the clk work is either cancelled or finished, and finally clk off is
called again to make sure clks are shut down.

CRs-fixed: 511249
Change-Id: Iadca3ffce7999e31e2a720a5ad6330f939b4ea98
Signed-off-by: default avatarHuaibin Yang <huaibiny@codeaurora.org>
parent 020921d9
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