linux/drivers/gpu/drm/stm
Marek Vasut eecdd4bd6e drm/bridge: stm_lvds: Do not fail atomic_check on disabled connector
If the connector is disabled, the new connector state has .crtc field
set to NULL and there is nothing more to validate after that point.
The .crtc field being NULL is not an error. Test for .crtc being NULL,
and if it is NULL, exit early with return 0.

This fixes a failure in suspend/resume path, where the connector is
already disabled, but .atomic_check is called, fails, returns -EINVAL
and blocks the suspend entry.

Fixes: aca1cbc1c9 ("drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver")
Signed-off-by: Marek Vasut <marex@nabladev.com>
Acked-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
Link: https://patch.msgid.link/20260409024928.344010-1-marex@nabladev.com
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
2026-04-13 12:52:33 +02:00
..
drv.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
dw_mipi_dsi-stm.c drm/stm/dw_mipi_dsi-stm: convert from round_rate() to determine_rate() 2025-09-15 15:08:43 +02:00
Kconfig drm/stm: Run DRM default client setup 2024-09-26 09:31:27 +02:00
ltdc.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
ltdc.h drm/stm: ltdc: handle lvds pixel clock 2025-08-28 17:43:57 +02:00
lvds.c drm/bridge: stm_lvds: Do not fail atomic_check on disabled connector 2026-04-13 12:52:33 +02:00
Makefile drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver 2024-06-28 11:17:07 +02:00