[PATCH 28/49] staging: hikey9xx/gpu: remove an uneeded hack

From: Mauro Carvalho Chehab
Date: Wed Aug 19 2020 - 08:07:25 EST


At least on current upstream Kernels, forcing an event parse
during init time isn't needed anymore.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c
index 44f7c15f386a..3d1b5f738a7f 100644
--- a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c
+++ b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_drv.c
@@ -122,11 +122,6 @@ static int kirin_drm_kms_init(struct drm_device *dev)
/* init kms poll for handling hpd */
drm_kms_helper_poll_init(dev);

-#if 1
- /* force detection after connectors init */
- (void)drm_helper_hpd_irq_event(dev);
-#endif
-
return 0;

err_unbind_all:
--
2.26.2