Skip to content

Commit 6c3c8b3

Browse files
mripardlumag
authored andcommitted
drm/panel: boe-tv101wum-ll2: Fix compilation build
Commit 5d2b55e ("panel/boe-tv101wum-ll2: Use refcounted allocation in place of devm_kzalloc()") switched from a kmalloc + drm_panel_init call to a devm_drm_panel_alloc one. However, the variable it was storing the allocated pointer in doesn't exist, resulting in a compilation breakage. Fixes: 5d2b55e ("panel/boe-tv101wum-ll2: Use refcounted allocation in place of devm_kzalloc()") Signed-off-by: Maxime Ripard <mripard@kernel.org> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Tested-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20250408122008.1676235-3-mripard@kernel.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent bce319a commit 6c3c8b3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ static int boe_tv101wum_ll2_probe(struct mipi_dsi_device *dsi)
168168

169169
ctx = devm_drm_panel_alloc(dev, struct boe_tv101wum_ll2, panel,
170170
&boe_tv101wum_ll2_panel_funcs,
171-
DRM_MODE_CONNECTOR_DSI
172-
if (IS_ERR(panel))
173-
return PTR_ERR(panel);
171+
DRM_MODE_CONNECTOR_DSI);
172+
if (IS_ERR(ctx))
173+
return PTR_ERR(ctx);
174174

175175
ret = devm_regulator_bulk_get_const(&dsi->dev,
176176
ARRAY_SIZE(boe_tv101wum_ll2_supplies),

0 commit comments

Comments
 (0)