Fix bug in novatek-nt35560 driver's nt35560_set_brightness() which causes the driver to incorrectly report that it "failed to disable display backlight".
Add mipi_dsi_dcs_read_multi() to drm_mipi_dsi.c for improved error handling in drivers which use mipi_dsi_dcs_read() multiple times in a row. It seems like although this feature may be useful for the nt35560, we don't expect many drivers to use it. Once again, I am happy to remove this change if it's not worth maintaining. Add mipi_dsi_dcs_write_var_seq_multi() and mipi_dsi_generic_write_var_seq_multi() to drm_mipi_dsi.h to allow drivers to more conveniently construct MIPI payloads at runtime. Clean up novatek-nt35560 driver to use "multi" variants of MIPI functions which promote cleaner code. Brigham Campbell (3): drm/panel: novatek-nt35560: Fix invalid return value drm: Add MIPI support function and macros drm/panel: novatek-nt35560: Clean up driver drivers/gpu/drm/drm_mipi_dsi.c | 37 ++++ drivers/gpu/drm/panel/panel-novatek-nt35560.c | 198 ++++++------------ include/drm/drm_mipi_dsi.h | 35 ++++ 3 files changed, 132 insertions(+), 138 deletions(-) base-commit: 33f8f321e7aa7715ce19560801ee5223ba8b9a7d -- 2.50.1