drm/msm: remove exra drm_kms_helper_poll_init() call
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 7 Nov 2023 11:14:13 +0000 (13:14 +0200)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 16 Nov 2023 20:57:04 +0000 (12:57 -0800)
commit3944e343e54b93d3fef30eacc4738e77fdf5444e
tree00f7e6e1d52e1258dea4f5f0026e1af1abbd27a4
parentb3e0f94d15700ac8e8c1c2355834f5d5c753c41d
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: 506efcba3129 ("drm/msm: carve out KMS code from msm_drv.c")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/566299/
Link: https://lore.kernel.org/r/20231107111413.2212942-1-dmitry.baryshkov@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/msm_drv.c