Patch "drm/exynos: Don't reset bridge->next" has been added to the 5.4-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/exynos: Don't reset bridge->next

to the 5.4-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-exynos-don-t-reset-bridge-next.patch
and it can be found in the queue-5.4 subdirectory.

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



commit 3f61d47304a22fbab3e62d5143206c539100803e
Author: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
Date:   Wed Oct 23 17:44:53 2019 +0200

    drm/exynos: Don't reset bridge->next
    
    [ Upstream commit bd19c4527056b3e42e8c286136660aa14d0b6c90 ]
    
    bridge->next is only points to the new bridge if drm_bridge_attach()
    succeeds. No need to reset it manually here.
    
    Note that this change is part of the attempt to make the bridge chain
    a double-linked list. In order to do that we must patch all drivers
    manipulating the bridge->next field.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
    Acked-by: Inki Dae <inki.dae@xxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20191023154512.9762-3-boris.brezillon@xxxxxxxxxxxxx
    Stable-dep-of: 13fcfcb2a9a4 ("drm/msm/mdp5: Add check for kzalloc")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c
index e0cfae744afc9..01c5fbf9083a0 100644
--- a/drivers/gpu/drm/exynos/exynos_dp.c
+++ b/drivers/gpu/drm/exynos/exynos_dp.c
@@ -109,7 +109,6 @@ static int exynos_dp_bridge_attach(struct analogix_dp_plat_data *plat_data,
 		if (ret) {
 			DRM_DEV_ERROR(dp->dev,
 				      "Failed to attach bridge to drm\n");
-			bridge->next = NULL;
 			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