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

Skip to content
Commit b4ab8764 authored by Steve Cohen's avatar Steve Cohen
Browse files

drm/msm: retry disabling modes on -ERESTARTSYS during lastclose



Retry the msm_disable_all_modes_commit if it fails with -ERESTARTSYS.
This error would normally propagate up causing the upper layers to
re-trigger the call with the same arguments, but since lastclose
returns a void type the error is getting lost.  Therefore detect
-ERESTARTSYS and retry the commit ourselves.

Change-Id: Id6d1933965f5fdca0ac823ae1873a206fef82228
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 4126e402
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