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:
Steve Cohen <cohens@codeaurora.org>
Loading
Please register or sign in to comment