Skip to content

Commit 3944e34

Browse files
lumagAbhinav Kumar
authored andcommitted
drm/msm: remove exra drm_kms_helper_poll_init() call
It seems during rebases I have left a call to drm_kms_helper_poll_init() which is not guarded by the (priv->kms_init) check. This leads to the crash for the boards which don't have KMS output. Drop this call, as there is a correctly guarded one next to the one being removed. Fixes: 506efcb ("drm/msm: carve out KMS code from msm_drv.c") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/566299/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent b3e0f94 commit 3944e34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/msm/msm_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ static int msm_drm_init(struct device *dev, const struct drm_driver *drv)
286286
if (ret)
287287
goto err_msm_uninit;
288288

289-
drm_kms_helper_poll_init(ddev);
290-
291289
if (priv->kms_init) {
292290
drm_kms_helper_poll_init(ddev);
293291
msm_fbdev_setup(ddev);

0 commit comments

Comments
 (0)