Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/msm: Fix error return code in msm_drm_init()
When it fail to create crtc_event kthread, it just jump to err_msm_uninit, while the 'ret' is not updated. So assign the return code before that. Fixes: 25fdd59 ("drm/msm: Add SDM845 DPU support") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Li <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
- Loading branch information