Re: [PATCH v4 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver
From: Doug Anderson
Date: Fri Jul 18 2025 - 12:11:58 EST
Hi,
On Thu, Jul 17, 2025 at 9:41 AM Brigham Campbell <me@xxxxxxxxxxxxxxxxxxx> wrote:
>
> static int jdi_panel_prepare(struct drm_panel *panel)
> {
> struct jdi_panel *jdi = to_panel_jdi(panel);
> + struct mipi_dsi_multi_context dsi_ctx = { .accum_err = 0 };
nit: can just be this:
struct mipi_dsi_multi_context dsi_ctx = {};
This looks so nice and clean now! :-) I'd bet that the compiled size
of the code is also quite a bit smaller as well...
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>