Patch "drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-rockchip-dw_hdmi-filter-regulator-eprobe_defer-e.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0edbf4372b1dfb76aae90f24568b6f29df656566
Author: Aurelien Jarno <aurelien@xxxxxxxxxxx>
Date:   Mon Sep 26 22:37:52 2022 +0200

    drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages
    
    [ Upstream commit bfab00b94bd8569cdb84a6511d6615e6a8104e9c ]
    
    When the avdd-0v9 or avdd-1v8 supply are not yet available, EPROBE_DEFER
    is returned by rockchip_hdmi_parse_dt(). This causes the following error
    message to be printed multiple times:
    
        dwhdmi-rockchip fe0a0000.hdmi: [drm:dw_hdmi_rockchip_bind [rockchipdrm]] *ERROR* Unable to parse OF data
    
    Fix that by not printing the message when rockchip_hdmi_parse_dt()
    returns -EPROBE_DEFER.
    
    Fixes: ca80c4eb4b01 ("drm/rockchip: dw_hdmi: add regulator support")
    Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
    Reviewed-by: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
    Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220926203752.5430-1-aurelien@xxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
index c14f88893868..2f4b8f64cbad 100644
--- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
+++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
@@ -565,7 +565,8 @@ static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master,
 
 	ret = rockchip_hdmi_parse_dt(hdmi);
 	if (ret) {
-		DRM_DEV_ERROR(hdmi->dev, "Unable to parse OF data\n");
+		if (ret != -EPROBE_DEFER)
+			DRM_DEV_ERROR(hdmi->dev, "Unable to parse OF data\n");
 		return ret;
 	}
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux