drm: rcar-du: Fix Kconfig dependency between RCAR_DU and RCAR_MIPI_DSI
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 1 Oct 2022 21:33:27 +0000 (00:33 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 9 Nov 2022 14:32:46 +0000 (16:32 +0200)
commita830a15678593948f3271a5a398c9b67d8beedb9
tree45fd174ef2b46a7d03036b1e954d067d134d5eb1
parent6295f1d8b4503ad8a18519b781dd2d1fe5e88c52
drm: rcar-du: Fix Kconfig dependency between RCAR_DU and RCAR_MIPI_DSI

When the R-Car MIPI DSI driver was added, it was a standalone encoder
driver without any dependency to or from the R-Car DU driver. Commit
957fe62d7d15 ("drm: rcar-du: Fix DSI enable & disable sequence") then
added a direct call from the DU driver to the MIPI DSI driver, without
updating Kconfig to take the new dependency into account. Fix it the
same way that the LVDS encoder is handled.

Fixes: 957fe62d7d15 ("drm: rcar-du: Fix DSI enable & disable sequence")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/Kconfig