Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: boe-tv101wum-ll2: Fix compilation build

Commit 5d2b55e55e61 ("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: 5d2b55e55e61 ("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>

authored by

Maxime Ripard and committed by
Dmitry Baryshkov
6c3c8b35 bce319a1

+3 -3
+3 -3
drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c
··· 168 168 169 169 ctx = devm_drm_panel_alloc(dev, struct boe_tv101wum_ll2, panel, 170 170 &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); 174 174 175 175 ret = devm_regulator_bulk_get_const(&dsi->dev, 176 176 ARRAY_SIZE(boe_tv101wum_ll2_supplies),