]> Gentwo Git Trees - linux/.git/commit
drm/rockchip: dw_hdmi_qp: Improve error handling with dev_err_probe()
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Wed, 3 Sep 2025 18:51:01 +0000 (21:51 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Oct 2025 20:28:04 +0000 (22:28 +0200)
commitb6736a4ea3fa68524074a18334f344a34a05bee8
treecb976c9cd25278bc23375df790cf3f26f3cb03d5
parentf7a1de0d86221000dc0699a8b48ad3a848e766d9
drm/rockchip: dw_hdmi_qp: Improve error handling with dev_err_probe()

The error handling in dw_hdmi_qp_rockchip_bind() is quite inconsistent,
i.e. in some cases the error code is not included in the message, while
in some other cases there is no check for -EPROBE_DEFER.

Since this is part of the probe path, address the aforementioned issues
by switching to dev_err_probe(), which also reduces the code a bit.

Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250903-rk3588-hdmi-cec-v4-3-fa25163c4b08@collabora.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c