Currently, DRM_PANEL_ILITEK_ILI9882T selects DRM_DISPLAY_DSC_HELPER
without ensuring DRM_DISPLAY_HELPER is also enabled, causing an unmet
dependency and build failure.

Other similar options select DRM_DISPLAY_HELPER, let's do the same here.

This unmet dependency bug was found by kconfirm, a static analysis tool
for Kconfig.

Fixes: 68e28facbc8a ("drm/panel: ilitek-ili9882t: Select 
DRM_DISPLAY_DSC_HELPER")
Signed-off-by: Julian Braha <[email protected]>
---
Changes since v1: fixed commit blame and commit title
Link: https://lore.kernel.org/all/[email protected]/
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 06bfcef35a72..103f1d09a989 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -375,6 +375,7 @@ config DRM_PANEL_ILITEK_ILI9882T
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
+       select DRM_DISPLAY_HELPER
        select DRM_DISPLAY_DSC_HELPER
        help
          Say Y if you want to enable support for panels based on the
-- 
2.54.0

Reply via email to