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/bridge: imx8qxp-pixel-link: remove excess error message

imx8qxp_pixel_link_find_next_bridge() already emits a DRM_DEV_ERROR() on
error except for -EPROBE_DEFER. The caller emits another one, which is
redundant. Remove the message in the caller and keep the one in
imx8qxp_pixel_link_find_next_bridge() as it is more informative about the
error cause.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20251216-drm-bridge-alloc-getput-drm_of_find_bridge-v3-20-b5165fab8058@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

+2 -7
+2 -7
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c
··· 374 374 return ret; 375 375 376 376 pl->next_bridge = imx8qxp_pixel_link_find_next_bridge(pl); 377 - if (IS_ERR(pl->next_bridge)) { 378 - ret = PTR_ERR(pl->next_bridge); 379 - if (ret != -EPROBE_DEFER) 380 - DRM_DEV_ERROR(dev, "failed to find next bridge: %d\n", 381 - ret); 382 - return ret; 383 - } 377 + if (IS_ERR(pl->next_bridge)) 378 + return PTR_ERR(pl->next_bridge); 384 379 385 380 platform_set_drvdata(pdev, pl); 386 381