This series converts the Samsung S6E3HA2 MIPI-DSI panel driver to the mipi_dsi_*_multi() helpers and fixes an error-handling bug in s6e3ha2_disable() beforehand:
- Patch 1 fixes s6e3ha2_disable() so that DCS command failures are logged and ignored rather than returning early and leaving panel->enabled set. - Patch 2 converts the driver to mipi_dsi_*_multi(), removing the custom hidden-return macros and deprecated MIPI DSI helpers. Patch 2 is intended to be a functional no-op apart from error logging; see the patch notes for how the command sequences were verified. Note: While converting s6e3ha2_enable(), I noticed that it calls s6e3ha2_test_key_on_f0(), then calls the brightness update sequence which ends with s6e3ha2_test_key_off_f0(). As a result, the subsequent commands (s6e3ha2_aor_control() through s6e3ha2_test()) are sent after the F0 test key has been locked, followed by a second s6e3ha2_test_key_off_f0() call. I intentionally left this command sequence unchanged to avoid altering existing hardware behavior without access to the panel. Please let me know if this should be handled differently. Compile-tested on arm64 with W=1, building each patch individually; not tested on hardware. Hsieh Hung-En (2): drm/panel: samsung-s6e3ha2: Ignore DCS errors in disable() drm/panel: samsung-s6e3ha2: Use mipi_dsi_*_multi() functions drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 286 ++++++++---------- 1 file changed, 124 insertions(+), 162 deletions(-) base-commit: 5de4885dae61a0e1708402e1fbf8f9d600ef1f4f -- 2.43.0
