]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: lvds: Hide scary error messages on probe deferral
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Tue, 4 Mar 2025 12:44:17 +0000 (13:44 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 4 Mar 2025 15:59:57 +0000 (16:59 +0100)
commit37c18639504aacbd31371f562fabafdb890bcd2e
tree60387397aae54504ec16f1d06be80187e8e81c63
parentd4f5efb9139cad34823f265053c57baf6af3c70c
drm/rockchip: lvds: Hide scary error messages on probe deferral

Commit 52d11c863ac9 ("drm/rockchip: lvds: do not print scary message when
probing defer") already started hiding scary messages that are not relevant
if the requested supply just returned EPROBE_DEFER, but there are more
possible sources - like the phy.

So modernize the whole logging in the probe path by replacing the
remaining deprecated DRM_DEV_ERROR with appropriate dev_err(_probe)
and drm_err calls.

The distinction here is that all messages talking about mishaps of the
lvds element use dev_err(_probe) while messages caused by interaction
with the main Rockchip drm-device use drm_err.

Reviewed-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250304124418.111061-3-heiko@sntech.de
drivers/gpu/drm/rockchip/rockchip_lvds.c