]> Gentwo Git Trees - linux/.git/commit
drm/panel: jdi-lpm102a188a: Fix bug and clean up driver
authorBrigham Campbell <me@brighamcampbell.com>
Tue, 22 Jul 2025 01:53:09 +0000 (19:53 -0600)
committerDouglas Anderson <dianders@chromium.org>
Tue, 29 Jul 2025 15:28:41 +0000 (08:28 -0700)
commita6adf47d30cccaf3c1936ac9de94948c140e17dd
tree15f52a052503f8d9f33cfcd2fdf5213b717e97eb
parentd94a2a00d2b8878678607c2969fee3b4e59126cb
drm/panel: jdi-lpm102a188a: Fix bug and clean up driver

Fix bug in unprepare() which causes the function's return value to be
that of the last mipi "enter sleep mode" command.

Update driver to use the "multi" variant of MIPI functions in order to
facilitate improved error handling and remove the panel's dependency on
deprecated MIPI functions.

Use the new mipi_dsi_dual macro to reduce code duplication.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Tested-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Brigham Campbell <me@brighamcampbell.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20250722015313.561966-3-me@brighamcampbell.com
drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c